|
|
|
@ -53,6 +53,17 @@ func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
|
|
|
|
|
|
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
|
|
|
|
|
|
func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { |
|
|
|
|
r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) |
|
|
|
|
n = int(r0) |
|
|
|
|
if e1 != 0 { |
|
|
|
|
err = errnoErr(e1) |
|
|
|
|
} |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
|
|
|
|
|
|
func readlinkat(dirfd int, path string, buf []byte) (n int, err error) { |
|
|
|
|
var _p0 *byte |
|
|
|
|
_p0, err = BytePtrFromString(path) |
|
|
|
@ -1737,3 +1748,14 @@ func setrlimit(resource int, rlim *rlimit32) (err error) {
|
|
|
|
|
} |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
|
|
|
|
|
|
func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { |
|
|
|
|
r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) |
|
|
|
|
n = int(r0) |
|
|
|
|
if e1 != 0 { |
|
|
|
|
err = errnoErr(e1) |
|
|
|
|
} |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|