mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-02 15:17:31 -04:00
unix: unify definition of func fcntl
For linux and *bsd, implement func fcntl in fcntl.go instead of generating it. Implement it using fcntl64Syscall, so SYS_FCNTL64 is used on 32-bit linux. For aix, darwin and solaris continue generate func fcntl as before. Change-Id: I3750b88d1ee5573daaee2b75c369f723fde8834a Reviewed-on: https://go-review.googlesource.com/c/sys/+/212337 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
0732a99047
commit
abf886d6f5
@@ -352,7 +352,6 @@ func Uname(uname *Utsname) error {
|
||||
// clock_settime
|
||||
// closefrom
|
||||
// execve
|
||||
// fcntl
|
||||
// fhopen
|
||||
// fhstat
|
||||
// fhstatfs
|
||||
|
||||
Reference in New Issue
Block a user