diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go | 44 |
1 files changed, 39 insertions, 5 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go index 6bae21e..4a9e99a 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go | |||
@@ -1,4 +1,4 @@ | |||
1 | // mksyscall_aix_ppc.pl -aix -tags aix,ppc syscall_aix.go syscall_aix_ppc.go | 1 | // go run mksyscall_aix_ppc.go -aix -tags aix,ppc syscall_aix.go syscall_aix_ppc.go |
2 | // Code generated by the command above; see README.md. DO NOT EDIT. | 2 | // Code generated by the command above; see README.md. DO NOT EDIT. |
3 | 3 | ||
4 | // +build aix,ppc | 4 | // +build aix,ppc |
@@ -83,6 +83,8 @@ int lstat(uintptr_t, uintptr_t); | |||
83 | int pause(); | 83 | int pause(); |
84 | int pread64(int, uintptr_t, size_t, long long); | 84 | int pread64(int, uintptr_t, size_t, long long); |
85 | int pwrite64(int, uintptr_t, size_t, long long); | 85 | int pwrite64(int, uintptr_t, size_t, long long); |
86 | #define c_select select | ||
87 | int select(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t); | ||
86 | int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); | 88 | int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); |
87 | int setregid(int, int); | 89 | int setregid(int, int); |
88 | int setreuid(int, int); | 90 | int setreuid(int, int); |
@@ -103,8 +105,8 @@ int getpeername(int, uintptr_t, uintptr_t); | |||
103 | int getsockname(int, uintptr_t, uintptr_t); | 105 | int getsockname(int, uintptr_t, uintptr_t); |
104 | int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t); | 106 | int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t); |
105 | int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t); | 107 | int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t); |
106 | int recvmsg(int, uintptr_t, int); | 108 | int nrecvmsg(int, uintptr_t, int); |
107 | int sendmsg(int, uintptr_t, int); | 109 | int nsendmsg(int, uintptr_t, int); |
108 | int munmap(uintptr_t, uintptr_t); | 110 | int munmap(uintptr_t, uintptr_t); |
109 | int madvise(uintptr_t, size_t, int); | 111 | int madvise(uintptr_t, size_t, int); |
110 | int mprotect(uintptr_t, size_t, int); | 112 | int mprotect(uintptr_t, size_t, int); |
@@ -118,6 +120,8 @@ int poll(uintptr_t, int, int); | |||
118 | int gettimeofday(uintptr_t, uintptr_t); | 120 | int gettimeofday(uintptr_t, uintptr_t); |
119 | int time(uintptr_t); | 121 | int time(uintptr_t); |
120 | int utime(uintptr_t, uintptr_t); | 122 | int utime(uintptr_t, uintptr_t); |
123 | unsigned long long getsystemcfg(int); | ||
124 | int umount(uintptr_t); | ||
121 | int getrlimit64(int, uintptr_t); | 125 | int getrlimit64(int, uintptr_t); |
122 | int setrlimit64(int, uintptr_t); | 126 | int setrlimit64(int, uintptr_t); |
123 | long long lseek64(int, long long, int); | 127 | long long lseek64(int, long long, int); |
@@ -1004,6 +1008,17 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) { | |||
1004 | 1008 | ||
1005 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1009 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1006 | 1010 | ||
1011 | func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { | ||
1012 | r0, er := C.c_select(C.int(nfd), C.uintptr_t(uintptr(unsafe.Pointer(r))), C.uintptr_t(uintptr(unsafe.Pointer(w))), C.uintptr_t(uintptr(unsafe.Pointer(e))), C.uintptr_t(uintptr(unsafe.Pointer(timeout)))) | ||
1013 | n = int(r0) | ||
1014 | if r0 == -1 && er != nil { | ||
1015 | err = er | ||
1016 | } | ||
1017 | return | ||
1018 | } | ||
1019 | |||
1020 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1021 | |||
1007 | func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { | 1022 | func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { |
1008 | r0, er := C.pselect(C.int(nfd), C.uintptr_t(uintptr(unsafe.Pointer(r))), C.uintptr_t(uintptr(unsafe.Pointer(w))), C.uintptr_t(uintptr(unsafe.Pointer(e))), C.uintptr_t(uintptr(unsafe.Pointer(timeout))), C.uintptr_t(uintptr(unsafe.Pointer(sigmask)))) | 1023 | r0, er := C.pselect(C.int(nfd), C.uintptr_t(uintptr(unsafe.Pointer(r))), C.uintptr_t(uintptr(unsafe.Pointer(w))), C.uintptr_t(uintptr(unsafe.Pointer(e))), C.uintptr_t(uintptr(unsafe.Pointer(timeout))), C.uintptr_t(uintptr(unsafe.Pointer(sigmask)))) |
1009 | n = int(r0) | 1024 | n = int(r0) |
@@ -1225,7 +1240,7 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) ( | |||
1225 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1240 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1226 | 1241 | ||
1227 | func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { | 1242 | func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { |
1228 | r0, er := C.recvmsg(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(msg))), C.int(flags)) | 1243 | r0, er := C.nrecvmsg(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(msg))), C.int(flags)) |
1229 | n = int(r0) | 1244 | n = int(r0) |
1230 | if r0 == -1 && er != nil { | 1245 | if r0 == -1 && er != nil { |
1231 | err = er | 1246 | err = er |
@@ -1236,7 +1251,7 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { | |||
1236 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1251 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1237 | 1252 | ||
1238 | func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { | 1253 | func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { |
1239 | r0, er := C.sendmsg(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(msg))), C.int(flags)) | 1254 | r0, er := C.nsendmsg(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(msg))), C.int(flags)) |
1240 | n = int(r0) | 1255 | n = int(r0) |
1241 | if r0 == -1 && er != nil { | 1256 | if r0 == -1 && er != nil { |
1242 | err = er | 1257 | err = er |
@@ -1409,6 +1424,25 @@ func Utime(path string, buf *Utimbuf) (err error) { | |||
1409 | 1424 | ||
1410 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1425 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1411 | 1426 | ||
1427 | func Getsystemcfg(label int) (n uint64) { | ||
1428 | r0, _ := C.getsystemcfg(C.int(label)) | ||
1429 | n = uint64(r0) | ||
1430 | return | ||
1431 | } | ||
1432 | |||
1433 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1434 | |||
1435 | func umount(target string) (err error) { | ||
1436 | _p0 := uintptr(unsafe.Pointer(C.CString(target))) | ||
1437 | r0, er := C.umount(C.uintptr_t(_p0)) | ||
1438 | if r0 == -1 && er != nil { | ||
1439 | err = er | ||
1440 | } | ||
1441 | return | ||
1442 | } | ||
1443 | |||
1444 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1445 | |||
1412 | func Getrlimit(resource int, rlim *Rlimit) (err error) { | 1446 | func Getrlimit(resource int, rlim *Rlimit) (err error) { |
1413 | r0, er := C.getrlimit64(C.int(resource), C.uintptr_t(uintptr(unsafe.Pointer(rlim)))) | 1447 | r0, er := C.getrlimit64(C.int(resource), C.uintptr_t(uintptr(unsafe.Pointer(rlim)))) |
1414 | if r0 == -1 && er != nil { | 1448 | if r0 == -1 && er != nil { |