summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/zsyscall_linux.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-09-29 15:09:45 +0200
committerLibravatar GitHub <noreply@github.com>2021-09-29 15:09:45 +0200
commit9a53b1a8d19da525ca7ace957b2d32f85dbe0fe9 (patch)
tree5f7a391618a0d1c68ab1f21ef4bd18ff034486ec /vendor/golang.org/x/sys/unix/zsyscall_linux.go
parentskip account on error instead of returning error (#251) (diff)
downloadgotosocial-9a53b1a8d19da525ca7ace957b2d32f85dbe0fe9.tar.xz
upstep bun to v1.0.9 (#252)
Diffstat (limited to 'vendor/golang.org/x/sys/unix/zsyscall_linux.go')
-rw-r--r--vendor/golang.org/x/sys/unix/zsyscall_linux.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux.go b/vendor/golang.org/x/sys/unix/zsyscall_linux.go
index f98d2e36d..701f7eb88 100644
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux.go
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux.go
@@ -110,6 +110,16 @@ func openat2(dirfd int, path string, open_how *OpenHow, size int) (fd int, err e
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func pipe2(p *[2]_C_int, flags int) (err error) {
+ _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+// 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)
@@ -1964,13 +1974,3 @@ func PidfdGetfd(pidfd int, targetfd int, flags int) (fd int, err error) {
}
return
}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
-}