vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go
changeset 256 6d9efbef00a9
parent 251 1c52a0eeb952
child 260 445e01aede7e
equal deleted inserted replaced
255:4f153a23adab 256:6d9efbef00a9
     1 // go run mksyscall.go -netbsd -tags netbsd,arm64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm64.go
     1 // go run mksyscall.go -netbsd -tags netbsd,arm64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm64.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 //go:build netbsd && arm64
     4 // +build netbsd,arm64
     5 // +build netbsd,arm64
     5 
     6 
     6 package unix
     7 package unix
     7 
     8 
     8 import (
     9 import (
   360 	return
   361 	return
   361 }
   362 }
   362 
   363 
   363 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   364 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   364 
   365 
       
   366 func pipe2(p *[2]_C_int, flags int) (err error) {
       
   367 	_, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
       
   368 	if e1 != 0 {
       
   369 		err = errnoErr(e1)
       
   370 	}
       
   371 	return
       
   372 }
       
   373 
       
   374 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
       
   375 
   365 func Getdents(fd int, buf []byte) (n int, err error) {
   376 func Getdents(fd int, buf []byte) (n int, err error) {
   366 	var _p0 unsafe.Pointer
   377 	var _p0 unsafe.Pointer
   367 	if len(buf) > 0 {
   378 	if len(buf) > 0 {
   368 		_p0 = unsafe.Pointer(&buf[0])
   379 		_p0 = unsafe.Pointer(&buf[0])
   369 	} else {
   380 	} else {