bfchroma turned out to be a hassle
[aya.git] / vendor / golang.org / x / sys / unix / zsyscall_darwin_amd64.1_13.go
bloba06eb0932420ae325c49e589cd88ff5919cfab8c
1 // go run mksyscall.go -tags darwin,amd64,go1.13 syscall_darwin.1_13.go
2 // Code generated by the command above; see README.md. DO NOT EDIT.
4 //go:build darwin && amd64 && go1.13
5 // +build darwin,amd64,go1.13
7 package unix
9 import (
10 "syscall"
11 "unsafe"
14 var _ syscall.Errno
16 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
18 func closedir(dir uintptr) (err error) {
19 _, _, e1 := syscall_syscall(libc_closedir_trampoline_addr, uintptr(dir), 0, 0)
20 if e1 != 0 {
21 err = errnoErr(e1)
23 return
26 var libc_closedir_trampoline_addr uintptr
28 //go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib"
30 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
32 func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) {
33 r0, _, _ := syscall_syscall(libc_readdir_r_trampoline_addr, uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
34 res = Errno(r0)
35 return
38 var libc_readdir_r_trampoline_addr uintptr
40 //go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib"