aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go')
-rw-r--r--vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go16
1 files changed, 3 insertions, 13 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
index a783306..c9058f3 100644
--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
@@ -255,17 +255,6 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
255 255
256// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT 256// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
257 257
258func fcntl(fd int, cmd int, arg int) (val int, err error) {
259 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
260 val = int(r0)
261 if e1 != 0 {
262 err = errnoErr(e1)
263 }
264 return
265}
266
267// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
268
269func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { 258func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
270 r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) 259 r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
271 n = int(r0) 260 n = int(r0)
@@ -1606,8 +1595,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1606 1595
1607// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT 1596// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1608 1597
1609func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) { 1598func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
1610 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0) 1599 r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1600 n = int(r0)
1611 if e1 != 0 { 1601 if e1 != 0 {
1612 err = errnoErr(e1) 1602 err = errnoErr(e1)
1613 } 1603 }