diff -r 4f153a23adab -r 6d9efbef00a9 vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go --- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go Mon Jun 07 20:58:18 2021 +0200 +++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go Sun Jul 11 10:35:56 2021 +0200 @@ -1,6 +1,7 @@ // go run mksyscall.go -netbsd -tags netbsd,arm64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm64.go // Code generated by the command above; see README.md. DO NOT EDIT. +//go:build netbsd && arm64 // +build netbsd,arm64 package unix @@ -362,6 +363,16 @@ // 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 Getdents(fd int, buf []byte) (n int, err error) { var _p0 unsafe.Pointer if len(buf) > 0 {