diff options
Diffstat (limited to 'vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go index 52802bf..c3371dd 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go | |||
@@ -960,6 +960,17 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) { | |||
960 | 960 | ||
961 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 961 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
962 | 962 | ||
963 | func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { | ||
964 | r0, e1 := callselect(nfd, uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout))) | ||
965 | n = int(r0) | ||
966 | if e1 != 0 { | ||
967 | err = errnoErr(e1) | ||
968 | } | ||
969 | return | ||
970 | } | ||
971 | |||
972 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
973 | |||
963 | func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { | 974 | func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { |
964 | r0, e1 := callpselect(nfd, uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask))) | 975 | r0, e1 := callpselect(nfd, uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask))) |
965 | n = int(r0) | 976 | n = int(r0) |
@@ -1189,7 +1200,7 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) ( | |||
1189 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1200 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1190 | 1201 | ||
1191 | func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { | 1202 | func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { |
1192 | r0, e1 := callrecvmsg(s, uintptr(unsafe.Pointer(msg)), flags) | 1203 | r0, e1 := callnrecvmsg(s, uintptr(unsafe.Pointer(msg)), flags) |
1193 | n = int(r0) | 1204 | n = int(r0) |
1194 | if e1 != 0 { | 1205 | if e1 != 0 { |
1195 | err = errnoErr(e1) | 1206 | err = errnoErr(e1) |
@@ -1200,7 +1211,7 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { | |||
1200 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1211 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1201 | 1212 | ||
1202 | func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { | 1213 | func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { |
1203 | r0, e1 := callsendmsg(s, uintptr(unsafe.Pointer(msg)), flags) | 1214 | r0, e1 := callnsendmsg(s, uintptr(unsafe.Pointer(msg)), flags) |
1204 | n = int(r0) | 1215 | n = int(r0) |
1205 | if e1 != 0 { | 1216 | if e1 != 0 { |
1206 | err = errnoErr(e1) | 1217 | err = errnoErr(e1) |
@@ -1375,6 +1386,21 @@ func Getsystemcfg(label int) (n uint64) { | |||
1375 | 1386 | ||
1376 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1387 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1377 | 1388 | ||
1389 | func umount(target string) (err error) { | ||
1390 | var _p0 *byte | ||
1391 | _p0, err = BytePtrFromString(target) | ||
1392 | if err != nil { | ||
1393 | return | ||
1394 | } | ||
1395 | _, e1 := callumount(uintptr(unsafe.Pointer(_p0))) | ||
1396 | if e1 != 0 { | ||
1397 | err = errnoErr(e1) | ||
1398 | } | ||
1399 | return | ||
1400 | } | ||
1401 | |||
1402 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1403 | |||
1378 | func Getrlimit(resource int, rlim *Rlimit) (err error) { | 1404 | func Getrlimit(resource int, rlim *Rlimit) (err error) { |
1379 | _, e1 := callgetrlimit(resource, uintptr(unsafe.Pointer(rlim))) | 1405 | _, e1 := callgetrlimit(resource, uintptr(unsafe.Pointer(rlim))) |
1380 | if e1 != 0 { | 1406 | if e1 != 0 { |