Files
brolang/ffi/c/unistd.bro
T

662 lines
36 KiB
Plaintext

# generated by brolang translate-c from unistd.h
# unsupported in bindings: C union '__mbstate_t' has no native spelling
accessx_descriptor :: c_struct {
ad_name_offset c_uint
ad_flags c_int
ad_pad [2]c_int
}
fd_set :: c_struct {
fds_bits [32]c_int
}
timespec :: c_struct {
tv_sec c_long
tv_nsec c_long
}
fssearchblock :: opaque
searchstate :: opaque
# unsupported in bindings: typedef '__mbstate_t' — underlying type has no native spelling
# unsupported in bindings: typedef '__darwin_mbstate_t' — underlying type has no native spelling
gid_t :: alias c_uint
useconds_t :: alias c_uint
time_t :: alias c_long
suseconds_t :: alias c_int
uuid_t :: alias [16]c_uchar
# unsupported in bindings: typedef 'fssearchblock' — underlying type has no native spelling
# unsupported in bindings: typedef 'searchstate' — underlying type has no native spelling
_POSIX_VERSION c_long :: 200112
_POSIX2_VERSION c_long :: 200112
_POSIX_THREAD_KEYS_MAX c_int :: 128
F_OK c_int :: 0
ACCESSX_MAX_DESCRIPTORS c_int :: 100
_PC_LINK_MAX c_int :: 1
_PC_MAX_CANON c_int :: 2
_PC_MAX_INPUT c_int :: 3
_PC_NAME_MAX c_int :: 4
_PC_PATH_MAX c_int :: 5
_PC_PIPE_BUF c_int :: 6
_PC_CHOWN_RESTRICTED c_int :: 7
_PC_NO_TRUNC c_int :: 8
_PC_VDISABLE c_int :: 9
_PC_NAME_CHARS_MAX c_int :: 10
_PC_CASE_SENSITIVE c_int :: 11
_PC_CASE_PRESERVING c_int :: 12
_PC_EXTENDED_SECURITY_NP c_int :: 13
_PC_AUTH_OPAQUE_NP c_int :: 14
_PC_2_SYMLINKS c_int :: 15
_PC_ALLOC_SIZE_MIN c_int :: 16
_PC_ASYNC_IO c_int :: 17
_PC_FILESIZEBITS c_int :: 18
_PC_PRIO_IO c_int :: 19
_PC_REC_INCR_XFER_SIZE c_int :: 20
_PC_REC_MAX_XFER_SIZE c_int :: 21
_PC_REC_MIN_XFER_SIZE c_int :: 22
_PC_REC_XFER_ALIGN c_int :: 23
_PC_SYMLINK_MAX c_int :: 24
_PC_SYNC_IO c_int :: 25
_PC_XATTR_SIZE_BITS c_int :: 26
_PC_MIN_HOLE_SIZE c_int :: 27
_CS_PATH c_int :: 1
STDIN_FILENO c_int :: 0
STDOUT_FILENO c_int :: 1
STDERR_FILENO c_int :: 2
_XOPEN_VERSION c_int :: 600
_XOPEN_XCU_VERSION c_int :: 4
_POSIX_CHOWN_RESTRICTED c_long :: 200112
_POSIX_FSYNC c_long :: 200112
_POSIX_IPV6 c_long :: 200112
_POSIX_JOB_CONTROL c_long :: 200112
_POSIX_MAPPED_FILES c_long :: 200112
_POSIX_MEMORY_PROTECTION c_long :: 200112
_POSIX_NO_TRUNC c_long :: 200112
_POSIX_READER_WRITER_LOCKS c_long :: 200112
_POSIX_REGEXP c_long :: 200112
_POSIX_SAVED_IDS c_long :: 200112
_POSIX_SHELL c_long :: 200112
_POSIX_SPAWN c_long :: 200112
_POSIX_THREAD_ATTR_STACKADDR c_long :: 200112
_POSIX_THREAD_ATTR_STACKSIZE c_long :: 200112
_POSIX_THREAD_PROCESS_SHARED c_long :: 200112
_POSIX_THREAD_SAFE_FUNCTIONS c_long :: 200112
_POSIX_THREADS c_long :: 200112
_POSIX2_C_BIND c_long :: 200112
_POSIX2_C_DEV c_long :: 200112
_POSIX2_CHAR_TERM c_long :: 200112
_POSIX2_FORT_RUN c_long :: 200112
_POSIX2_LOCALEDEF c_long :: 200112
_POSIX2_SW_DEV c_long :: 200112
_POSIX2_UPE c_long :: 200112
_SC_ARG_MAX c_int :: 1
_SC_CHILD_MAX c_int :: 2
_SC_CLK_TCK c_int :: 3
_SC_NGROUPS_MAX c_int :: 4
_SC_OPEN_MAX c_int :: 5
_SC_JOB_CONTROL c_int :: 6
_SC_SAVED_IDS c_int :: 7
_SC_VERSION c_int :: 8
_SC_BC_BASE_MAX c_int :: 9
_SC_BC_DIM_MAX c_int :: 10
_SC_BC_SCALE_MAX c_int :: 11
_SC_BC_STRING_MAX c_int :: 12
_SC_COLL_WEIGHTS_MAX c_int :: 13
_SC_EXPR_NEST_MAX c_int :: 14
_SC_LINE_MAX c_int :: 15
_SC_RE_DUP_MAX c_int :: 16
_SC_2_VERSION c_int :: 17
_SC_2_C_BIND c_int :: 18
_SC_2_C_DEV c_int :: 19
_SC_2_CHAR_TERM c_int :: 20
_SC_2_FORT_DEV c_int :: 21
_SC_2_FORT_RUN c_int :: 22
_SC_2_LOCALEDEF c_int :: 23
_SC_2_SW_DEV c_int :: 24
_SC_2_UPE c_int :: 25
_SC_STREAM_MAX c_int :: 26
_SC_TZNAME_MAX c_int :: 27
_SC_ASYNCHRONOUS_IO c_int :: 28
_SC_PAGESIZE c_int :: 29
_SC_MEMLOCK c_int :: 30
_SC_MEMLOCK_RANGE c_int :: 31
_SC_MEMORY_PROTECTION c_int :: 32
_SC_MESSAGE_PASSING c_int :: 33
_SC_PRIORITIZED_IO c_int :: 34
_SC_PRIORITY_SCHEDULING c_int :: 35
_SC_REALTIME_SIGNALS c_int :: 36
_SC_SEMAPHORES c_int :: 37
_SC_FSYNC c_int :: 38
_SC_SHARED_MEMORY_OBJECTS c_int :: 39
_SC_SYNCHRONIZED_IO c_int :: 40
_SC_TIMERS c_int :: 41
_SC_AIO_LISTIO_MAX c_int :: 42
_SC_AIO_MAX c_int :: 43
_SC_AIO_PRIO_DELTA_MAX c_int :: 44
_SC_DELAYTIMER_MAX c_int :: 45
_SC_MQ_OPEN_MAX c_int :: 46
_SC_MAPPED_FILES c_int :: 47
_SC_RTSIG_MAX c_int :: 48
_SC_SEM_NSEMS_MAX c_int :: 49
_SC_SEM_VALUE_MAX c_int :: 50
_SC_SIGQUEUE_MAX c_int :: 51
_SC_TIMER_MAX c_int :: 52
_SC_NPROCESSORS_CONF c_int :: 57
_SC_NPROCESSORS_ONLN c_int :: 58
_SC_2_PBS c_int :: 59
_SC_2_PBS_ACCOUNTING c_int :: 60
_SC_2_PBS_CHECKPOINT c_int :: 61
_SC_2_PBS_LOCATE c_int :: 62
_SC_2_PBS_MESSAGE c_int :: 63
_SC_2_PBS_TRACK c_int :: 64
_SC_ADVISORY_INFO c_int :: 65
_SC_BARRIERS c_int :: 66
_SC_CLOCK_SELECTION c_int :: 67
_SC_CPUTIME c_int :: 68
_SC_FILE_LOCKING c_int :: 69
_SC_GETGR_R_SIZE_MAX c_int :: 70
_SC_GETPW_R_SIZE_MAX c_int :: 71
_SC_HOST_NAME_MAX c_int :: 72
_SC_LOGIN_NAME_MAX c_int :: 73
_SC_MONOTONIC_CLOCK c_int :: 74
_SC_MQ_PRIO_MAX c_int :: 75
_SC_READER_WRITER_LOCKS c_int :: 76
_SC_REGEXP c_int :: 77
_SC_SHELL c_int :: 78
_SC_SPAWN c_int :: 79
_SC_SPIN_LOCKS c_int :: 80
_SC_SPORADIC_SERVER c_int :: 81
_SC_THREAD_ATTR_STACKADDR c_int :: 82
_SC_THREAD_ATTR_STACKSIZE c_int :: 83
_SC_THREAD_CPUTIME c_int :: 84
_SC_THREAD_DESTRUCTOR_ITERATIONS c_int :: 85
_SC_THREAD_KEYS_MAX c_int :: 86
_SC_THREAD_PRIO_INHERIT c_int :: 87
_SC_THREAD_PRIO_PROTECT c_int :: 88
_SC_THREAD_PRIORITY_SCHEDULING c_int :: 89
_SC_THREAD_PROCESS_SHARED c_int :: 90
_SC_THREAD_SAFE_FUNCTIONS c_int :: 91
_SC_THREAD_SPORADIC_SERVER c_int :: 92
_SC_THREAD_STACK_MIN c_int :: 93
_SC_THREAD_THREADS_MAX c_int :: 94
_SC_TIMEOUTS c_int :: 95
_SC_THREADS c_int :: 96
_SC_TRACE c_int :: 97
_SC_TRACE_EVENT_FILTER c_int :: 98
_SC_TRACE_INHERIT c_int :: 99
_SC_TRACE_LOG c_int :: 100
_SC_TTY_NAME_MAX c_int :: 101
_SC_TYPED_MEMORY_OBJECTS c_int :: 102
_SC_V6_ILP32_OFF32 c_int :: 103
_SC_V6_ILP32_OFFBIG c_int :: 104
_SC_V6_LP64_OFF64 c_int :: 105
_SC_V6_LPBIG_OFFBIG c_int :: 106
_SC_IPV6 c_int :: 118
_SC_RAW_SOCKETS c_int :: 119
_SC_SYMLOOP_MAX c_int :: 120
_SC_ATEXIT_MAX c_int :: 107
_SC_IOV_MAX c_int :: 56
_SC_XOPEN_CRYPT c_int :: 108
_SC_XOPEN_ENH_I18N c_int :: 109
_SC_XOPEN_LEGACY c_int :: 110
_SC_XOPEN_REALTIME c_int :: 111
_SC_XOPEN_REALTIME_THREADS c_int :: 112
_SC_XOPEN_SHM c_int :: 113
_SC_XOPEN_STREAMS c_int :: 114
_SC_XOPEN_UNIX c_int :: 115
_SC_XOPEN_VERSION c_int :: 116
_SC_XOPEN_XCU_VERSION c_int :: 121
_SC_XBS5_ILP32_OFF32 c_int :: 122
_SC_XBS5_ILP32_OFFBIG c_int :: 123
_SC_XBS5_LP64_OFF64 c_int :: 124
_SC_XBS5_LPBIG_OFFBIG c_int :: 125
_SC_SS_REPL_MAX c_int :: 126
_SC_TRACE_EVENT_NAME_MAX c_int :: 127
_SC_TRACE_NAME_MAX c_int :: 128
_SC_TRACE_SYS_MAX c_int :: 129
_SC_TRACE_USER_EVENT_MAX c_int :: 130
_SC_PASS_MAX c_int :: 131
_SC_PHYS_PAGES c_int :: 200
_CS_POSIX_V6_ILP32_OFF32_CFLAGS c_int :: 2
_CS_POSIX_V6_ILP32_OFF32_LDFLAGS c_int :: 3
_CS_POSIX_V6_ILP32_OFF32_LIBS c_int :: 4
_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS c_int :: 5
_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS c_int :: 6
_CS_POSIX_V6_ILP32_OFFBIG_LIBS c_int :: 7
_CS_POSIX_V6_LP64_OFF64_CFLAGS c_int :: 8
_CS_POSIX_V6_LP64_OFF64_LDFLAGS c_int :: 9
_CS_POSIX_V6_LP64_OFF64_LIBS c_int :: 10
_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS c_int :: 11
_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS c_int :: 12
_CS_POSIX_V6_LPBIG_OFFBIG_LIBS c_int :: 13
_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS c_int :: 14
_CS_XBS5_ILP32_OFF32_CFLAGS c_int :: 20
_CS_XBS5_ILP32_OFF32_LDFLAGS c_int :: 21
_CS_XBS5_ILP32_OFF32_LIBS c_int :: 22
_CS_XBS5_ILP32_OFF32_LINTFLAGS c_int :: 23
_CS_XBS5_ILP32_OFFBIG_CFLAGS c_int :: 24
_CS_XBS5_ILP32_OFFBIG_LDFLAGS c_int :: 25
_CS_XBS5_ILP32_OFFBIG_LIBS c_int :: 26
_CS_XBS5_ILP32_OFFBIG_LINTFLAGS c_int :: 27
_CS_XBS5_LP64_OFF64_CFLAGS c_int :: 28
_CS_XBS5_LP64_OFF64_LDFLAGS c_int :: 29
_CS_XBS5_LP64_OFF64_LIBS c_int :: 30
_CS_XBS5_LP64_OFF64_LINTFLAGS c_int :: 31
_CS_XBS5_LPBIG_OFFBIG_CFLAGS c_int :: 32
_CS_XBS5_LPBIG_OFFBIG_LDFLAGS c_int :: 33
_CS_XBS5_LPBIG_OFFBIG_LIBS c_int :: 34
_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS c_int :: 35
_CS_DARWIN_USER_DIR c_int :: 65536
_CS_DARWIN_USER_TEMP_DIR c_int :: 65537
_CS_DARWIN_USER_CACHE_DIR c_int :: 65538
F_ULOCK c_int :: 0
F_LOCK c_int :: 1
F_TLOCK c_int :: 2
F_TEST c_int :: 3
SYNC_VOLUME_FULLSYNC c_int :: 1
SYNC_VOLUME_WAIT c_int :: 2
getattrlistbulk c_func(_ c_int, _ ?*mut anyopaque, _ ?*mut anyopaque, _ c_ulong, _ c_ulonglong) c_int
getattrlistat c_func(_ c_int, _ ?*c_char, _ ?*mut anyopaque, _ ?*mut anyopaque, _ c_ulong, _ c_ulong) c_int
setattrlistat c_func(_ c_int, _ ?*c_char, _ ?*mut anyopaque, _ ?*mut anyopaque, _ c_ulong, _ c_uint) c_int
freadlink c_func(_ c_int, _ ?*mut c_char, _ c_ulong) c_long
faccessat c_func(_ c_int, _ ?*c_char, _ c_int, _ c_int) c_int
fchownat c_func(_ c_int, _ ?*c_char, _ c_uint, _ c_uint, _ c_int) c_int
linkat c_func(_ c_int, _ ?*c_char, _ c_int, _ ?*c_char, _ c_int) c_int
readlinkat c_func(_ c_int, _ ?*c_char, _ ?*mut c_char, _ c_ulong) c_long
symlinkat c_func(_ ?*c_char, _ c_int, _ ?*c_char) c_int
unlinkat c_func(_ c_int, _ ?*c_char, _ c_int) c_int
_exit c_func(_ c_int) void
access c_func(_ ?*c_char, _ c_int) c_int
alarm c_func(_ c_uint) c_uint
chdir c_func(_ ?*c_char) c_int
chown c_func(_ ?*c_char, _ c_uint, _ c_uint) c_int
close c_func(_ c_int) c_int
dup c_func(_ c_int) c_int
dup2 c_func(_ c_int, _ c_int) c_int
execl c_func(__path ?*c_char, __arg0 ?*c_char, ...) c_int
execle c_func(__path ?*c_char, __arg0 ?*c_char, ...) c_int
execlp c_func(__file ?*c_char, __arg0 ?*c_char, ...) c_int
execv c_func(__path ?*c_char, __argv ?*?*mut c_char) c_int
execve c_func(__file ?*c_char, __argv ?*?*mut c_char, __envp ?*?*mut c_char) c_int
execvp c_func(__file ?*c_char, __argv ?*?*mut c_char) c_int
fork c_func() c_int
fpathconf c_func(_ c_int, _ c_int) c_long
getcwd c_func(_ ?*mut c_char, __size c_ulong) ?*mut c_char
getegid c_func() c_uint
geteuid c_func() c_uint
getgid c_func() c_uint
getgroups c_func(__gidsetsize c_int, _ ?*mut c_uint) c_int
getlogin c_func() ?*mut c_char
getpgrp c_func() c_int
getpid c_func() c_int
getppid c_func() c_int
getuid c_func() c_uint
isatty c_func(_ c_int) c_int
link c_func(_ ?*c_char, _ ?*c_char) c_int
lseek c_func(_ c_int, _ c_longlong, _ c_int) c_longlong
pathconf c_func(_ ?*c_char, _ c_int) c_long
pause c_func() c_int
pipe c_func(_ ?*mut c_int) c_int
read c_func(_ c_int, _ ?*mut anyopaque, __nbyte c_ulong) c_long
rmdir c_func(_ ?*c_char) c_int
setgid c_func(_ c_uint) c_int
setpgid c_func(_ c_int, _ c_int) c_int
setsid c_func() c_int
setuid c_func(_ c_uint) c_int
sleep c_func(_ c_uint) c_uint
sysconf c_func(_ c_int) c_long
tcgetpgrp c_func(_ c_int) c_int
tcsetpgrp c_func(_ c_int, _ c_int) c_int
ttyname c_func(_ c_int) ?*mut c_char
ttyname_r c_func(_ c_int, _ ?*mut c_char, __len c_ulong) c_int
unlink c_func(_ ?*c_char) c_int
write c_func(__fd c_int, __buf ?*anyopaque, __nbyte c_ulong) c_long
confstr c_func(_ c_int, _ ?*mut c_char, __len c_ulong) c_ulong
getopt c_func(__argc c_int, _ ?*?*mut c_char, _ ?*c_char) c_int
brk c_func(_ ?*anyopaque) ?*mut anyopaque
chroot c_func(_ ?*c_char) c_int
crypt c_func(_ ?*c_char, _ ?*c_char) ?*mut c_char
encrypt c_func(_ ?*mut c_char, _ c_int) void
fchdir c_func(_ c_int) c_int
gethostid c_func() c_long
getpgid c_func(_ c_int) c_int
getsid c_func(_ c_int) c_int
getdtablesize c_func() c_int
getpagesize c_func() c_int
getpass c_func(_ ?*c_char) ?*mut c_char
getwd c_func(_ ?*mut c_char) ?*mut c_char
lchown c_func(_ ?*c_char, _ c_uint, _ c_uint) c_int
lockf c_func(_ c_int, _ c_int, _ c_longlong) c_int
nice c_func(_ c_int) c_int
pread c_func(__fd c_int, __buf ?*mut anyopaque, __nbyte c_ulong, __offset c_longlong) c_long
pwrite c_func(__fd c_int, __buf ?*anyopaque, __nbyte c_ulong, __offset c_longlong) c_long
sbrk c_func(_ c_int) ?*mut anyopaque
setpgrp c_func() c_int
setregid c_func(_ c_uint, _ c_uint) c_int
setreuid c_func(_ c_uint, _ c_uint) c_int
swab c_func(_ ?*anyopaque, _ ?*mut anyopaque, __nbytes c_long) void
sync c_func() void
truncate c_func(_ ?*c_char, _ c_longlong) c_int
ualarm c_func(_ c_uint, _ c_uint) c_uint
usleep c_func(_ c_uint) c_int
vfork c_func() c_int
fsync c_func(_ c_int) c_int
ftruncate c_func(_ c_int, _ c_longlong) c_int
getlogin_r c_func(_ ?*mut c_char, __namelen c_ulong) c_int
fchown c_func(_ c_int, _ c_uint, _ c_uint) c_int
gethostname c_func(_ ?*mut c_char, __namelen c_ulong) c_int
readlink c_func(_ ?*c_char, _ ?*mut c_char, __bufsize c_ulong) c_long
setegid c_func(_ c_uint) c_int
seteuid c_func(_ c_uint) c_int
symlink c_func(_ ?*c_char, _ ?*c_char) c_int
__darwin_check_fd_set_overflow c_func(_ c_int, _ ?*anyopaque, _ c_int) c_int
__darwin_check_fd_set c_func(_a c_int, _b ?*anyopaque) c_int
__darwin_fd_isset c_func(_fd c_int, _p ?*fd_set) c_int
__darwin_fd_set c_func(_fd c_int, _p ?*mut fd_set) void
__darwin_fd_clr c_func(_fd c_int, _p ?*mut fd_set) void
pselect c_func(_ c_int, _ ?*mut fd_set, _ ?*mut fd_set, _ ?*mut fd_set, _ ?*timespec, _ ?*c_uint) c_int
select c_func(_ c_int, _ ?*mut fd_set, _ ?*mut fd_set, _ ?*mut fd_set, _ ?*mut timeval) c_int
accessx_np c_func(_ ?*accessx_descriptor, __sz c_ulong, _ ?*mut c_int, _ c_uint) c_int
acct c_func(_ ?*c_char) c_int
add_profil c_func(_ ?*mut c_char, __bufsiz c_ulong, _ c_ulong, _ c_uint) c_int
endusershell c_func() void
execvP c_func(__file ?*c_char, __searchpath ?*c_char, __argv ?*?*mut c_char) c_int
fflagstostr c_func(_ c_ulong) ?*mut c_char
getdomainname c_func(_ ?*mut c_char, __namelen c_int) c_int
getgrouplist c_func(_ ?*c_char, _ c_int, _ ?*mut c_int, __ngroups ?*mut c_int) c_int
gethostuuid c_func(_ ?*mut c_uchar, _ ?*timespec) c_int
getmode c_func(_ ?*anyopaque, _ c_ushort) c_ushort
getpeereid c_func(_ c_int, _ ?*mut c_uint, _ ?*mut c_uint) c_int
getsgroups_np c_func(_ ?*mut c_int, _ ?*mut c_uchar) c_int
getusershell c_func() ?*mut c_char
getwgroups_np c_func(_ ?*mut c_int, _ ?*mut c_uchar) c_int
initgroups c_func(_ ?*c_char, _ c_int) c_int
issetugid c_func() c_int
mkdtemp c_func(_ ?*mut c_char) ?*mut c_char
mknod c_func(_ ?*c_char, _ c_ushort, _ c_int) c_int
mkpath_np c_func(path ?*c_char, omode c_ushort) c_int
mkpathat_np c_func(dfd c_int, path ?*c_char, omode c_ushort) c_int
mkstemps c_func(_ ?*mut c_char, _ c_int) c_int
mkostemp c_func(path ?*mut c_char, oflags c_int) c_int
mkostemps c_func(path ?*mut c_char, slen c_int, oflags c_int) c_int
mkstemp_dprotected_np c_func(path ?*mut c_char, dpclass c_int, dpflags c_int) c_int
mkdtempat_np c_func(dfd c_int, path ?*mut c_char) ?*mut c_char
mkstempsat_np c_func(dfd c_int, path ?*mut c_char, slen c_int) c_int
mkostempsat_np c_func(dfd c_int, path ?*mut c_char, slen c_int, oflags c_int) c_int
nfssvc c_func(_ c_int, _ ?*mut anyopaque) c_int
profil c_func(_ ?*mut c_char, __bufsiz c_ulong, _ c_ulong, _ c_uint) c_int
pthread_setugid_np c_func(_ c_uint, _ c_uint) c_int
pthread_getugid_np c_func(_ ?*mut c_uint, _ ?*mut c_uint) c_int
reboot c_func(_ c_int) c_int
revoke c_func(_ ?*c_char) c_int
rcmd c_func(_ ?*mut ?*mut c_char, _ c_int, _ ?*c_char, _ ?*c_char, _ ?*c_char, _ ?*mut c_int) c_int
rcmd_af c_func(_ ?*mut ?*mut c_char, _ c_int, _ ?*c_char, _ ?*c_char, _ ?*c_char, _ ?*mut c_int, _ c_int) c_int
rresvport c_func(_ ?*mut c_int) c_int
rresvport_af c_func(_ ?*mut c_int, _ c_int) c_int
iruserok c_func(_ c_ulong, _ c_int, _ ?*c_char, _ ?*c_char) c_int
iruserok_sa c_func(_ ?*anyopaque, _ c_int, _ c_int, _ ?*c_char, _ ?*c_char) c_int
ruserok c_func(_ ?*c_char, _ c_int, _ ?*c_char, _ ?*c_char) c_int
setdomainname c_func(_ ?*c_char, __namelen c_int) c_int
setgroups c_func(_ c_int, _ ?*c_uint) c_int
sethostid c_func(_ c_long) void
sethostname c_func(_ ?*c_char, __namelen c_int) c_int
setlogin c_func(_ ?*c_char) c_int
setmode c_func(_ ?*c_char) ?*mut anyopaque
setrgid c_func(_ c_uint) c_int
setruid c_func(_ c_uint) c_int
setsgroups_np c_func(_ c_int, _ ?*mut c_uchar) c_int
setusershell c_func() void
setwgroups_np c_func(_ c_int, _ ?*mut c_uchar) c_int
strtofflags c_func(_ ?*mut ?*mut c_char, _ ?*mut c_ulong, _ ?*mut c_ulong) c_int
swapon c_func(_ ?*c_char) c_int
ttyslot c_func() c_int
undelete c_func(_ ?*c_char) c_int
unwhiteout c_func(_ ?*c_char) c_int
syscall c_func(_ c_int, ...) c_int
fgetattrlist c_func(_ c_int, _ ?*mut anyopaque, _ ?*mut anyopaque, __attrBufSize c_ulong, _ c_uint) c_int
fsetattrlist c_func(_ c_int, _ ?*mut anyopaque, _ ?*mut anyopaque, __attrBufSize c_ulong, _ c_uint) c_int
getattrlist c_func(_ ?*c_char, _ ?*mut anyopaque, _ ?*mut anyopaque, __attrBufSize c_ulong, _ c_uint) c_int
setattrlist c_func(_ ?*c_char, _ ?*mut anyopaque, _ ?*mut anyopaque, __attrBufSize c_ulong, _ c_uint) c_int
exchangedata c_func(_ ?*c_char, _ ?*c_char, _ c_uint) c_int
getdirentriesattr c_func(_ c_int, _ ?*mut anyopaque, _ ?*mut anyopaque, __attrBufSize c_ulong, _ ?*mut c_uint, _ ?*mut c_uint, _ ?*mut c_uint, _ c_uint) c_int
searchfs c_func(_ ?*c_char, _ ?*mut fssearchblock, _ ?*mut c_ulong, _ c_uint, _ c_uint, _ ?*mut searchstate) c_int
fsctl c_func(_ ?*c_char, _ c_ulong, _ ?*mut anyopaque, _ c_uint) c_int
ffsctl c_func(_ c_int, _ c_ulong, _ ?*mut anyopaque, _ c_uint) c_int
fsync_volume_np c_func(_ c_int, _ c_int) c_int
sync_volume_np c_func(_ ?*c_char, _ c_int) c_int
# unsupported in bindings: external variable 'optarg' has no native spelling
# unsupported in bindings: external variable 'optind' has no native spelling
# unsupported in bindings: external variable 'opterr' has no native spelling
# unsupported in bindings: external variable 'optopt' has no native spelling
# unsupported in bindings: external variable 'suboptarg' has no native spelling
# unsupported in bindings: external variable 'optreset' has no native spelling
# unsupported in bindings: _UNISTD_H_ — C macro has no replacement value
# unsupported in bindings: _LIBC_BOUNDS_H_ — C macro has no replacement value
# unsupported in bindings: _CDEFS_H_ — C macro has no replacement value
# unsupported in bindings: _LIBC_COUNT — C function-like macros are not supported
# unsupported in bindings: _LIBC_COUNT_OR_NULL — C function-like macros are not supported
# unsupported in bindings: _LIBC_SIZE — C function-like macros are not supported
# unsupported in bindings: _LIBC_SIZE_OR_NULL — C function-like macros are not supported
# unsupported in bindings: _LIBC_ENDED_BY — C function-like macros are not supported
# unsupported in bindings: _LIBC_SINGLE — C macro has no replacement value
# unsupported in bindings: _LIBC_UNSAFE_INDEXABLE — C macro has no replacement value
# unsupported in bindings: _LIBC_CSTR — C macro has no replacement value
# unsupported in bindings: _LIBC_NULL_TERMINATED — C macro has no replacement value
# unsupported in bindings: _LIBC_FLEX_COUNT — C function-like macros are not supported
# unsupported in bindings: _LIBC_SINGLE_BY_DEFAULT — C function-like macros are not supported
# unsupported in bindings: _LIBC_PTRCHECK_REPLACED — C function-like macros are not supported
# unsupported in bindings: _LIBC_FORGE_PTR — C function-like macros are not supported
# unsupported in bindings: _SYS__TYPES_H_ — C macro has no replacement value
# unsupported in bindings: _BSD_MACHINE__TYPES_H_ — C macro has no replacement value
# unsupported in bindings: _BSD_ARM__TYPES_H_ — C macro has no replacement value
# unsupported in bindings: _SYS__PTHREAD_TYPES_H_ — C macro has no replacement value
# unsupported in bindings: _SYS_UNISTD_H_ — C macro has no replacement value
# unsupported in bindings: _POSIX_VDISABLE — C macro is not a supported constant
# unsupported in bindings: X_OK — C macro is not a supported constant
# unsupported in bindings: W_OK — C macro is not a supported constant
# unsupported in bindings: R_OK — C macro is not a supported constant
# unsupported in bindings: _READ_OK — C macro is not a supported constant
# unsupported in bindings: _WRITE_OK — C macro is not a supported constant
# unsupported in bindings: _EXECUTE_OK — C macro is not a supported constant
# unsupported in bindings: _DELETE_OK — C macro is not a supported constant
# unsupported in bindings: _APPEND_OK — C macro is not a supported constant
# unsupported in bindings: _RMFILE_OK — C macro is not a supported constant
# unsupported in bindings: _RATTR_OK — C macro is not a supported constant
# unsupported in bindings: _WATTR_OK — C macro is not a supported constant
# unsupported in bindings: _REXT_OK — C macro is not a supported constant
# unsupported in bindings: _WEXT_OK — C macro is not a supported constant
# unsupported in bindings: _RPERM_OK — C macro is not a supported constant
# unsupported in bindings: _WPERM_OK — C macro is not a supported constant
# unsupported in bindings: _CHOWN_OK — C macro is not a supported constant
# unsupported in bindings: _ACCESS_EXTENDED_MASK — C macro is not a supported constant
# unsupported in bindings: _SEEK_SET_H_ — C macro has no replacement value
# unsupported in bindings: L_SET — C macro is not a supported constant
# unsupported in bindings: L_INCR — C macro is not a supported constant
# unsupported in bindings: L_XTND — C macro is not a supported constant
# unsupported in bindings: ACCESSX_MAX_TABLESIZE — C macro is not a supported constant
# unsupported in bindings: _SIZE_T — C macro has no replacement value
# unsupported in bindings: _SSIZE_T — C macro has no replacement value
# unsupported in bindings: _BSD_MACHINE_TYPES_H_ — C macro has no replacement value
# unsupported in bindings: _ARM_MACHTYPES_H_ — C macro has no replacement value
# unsupported in bindings: _MACHTYPES_H_ — C macro has no replacement value
# unsupported in bindings: _INT8_T — C macro has no replacement value
# unsupported in bindings: _INT16_T — C macro has no replacement value
# unsupported in bindings: _INT32_T — C macro has no replacement value
# unsupported in bindings: _INT64_T — C macro has no replacement value
# unsupported in bindings: _U_INT8_T — C macro has no replacement value
# unsupported in bindings: _U_INT16_T — C macro has no replacement value
# unsupported in bindings: _U_INT32_T — C macro has no replacement value
# unsupported in bindings: _U_INT64_T — C macro has no replacement value
# unsupported in bindings: _INTPTR_T — C macro has no replacement value
# unsupported in bindings: _UINTPTR_T — C macro has no replacement value
# unsupported in bindings: USER_ADDR_NULL — C macro is not a supported constant
# unsupported in bindings: CAST_USER_ADDR_T — C function-like macros are not supported
# unsupported in bindings: _UINT64_T — C macro has no replacement value
# unsupported in bindings: _UINT32_T — C macro has no replacement value
# unsupported in bindings: MAC_OS_X_VERSION_10_0 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_1 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_2 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_3 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_4 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_5 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_6 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_7 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_8 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_9 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_10 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_10_2 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_10_3 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_11 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_11_2 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_11_3 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_11_4 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_12 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_12_1 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_12_2 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_12_4 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_13 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_13_1 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_13_2 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_13_4 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_14 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_14_1 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_14_4 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_14_5 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_14_6 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_15 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_15_1 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_15_4 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_X_VERSION_10_16 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_11_0 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_11_1 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_11_3 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_11_4 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_11_5 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_11_6 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_12_0 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_12_1 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_12_2 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_12_3 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_12_4 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_12_5 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_12_6 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_12_7 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_13_0 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_13_1 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_13_2 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_13_3 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_13_4 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_13_5 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_13_6 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_13_7 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_14_0 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_14_1 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_14_2 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_14_3 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_14_4 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_14_5 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_14_6 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_14_7 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_15_0 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_15_1 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_15_2 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_15_3 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_15_4 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_15_5 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_15_6 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_16_0 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_26_0 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_26_1 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_26_2 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_26_3 — C macro is not a supported constant
# unsupported in bindings: MAC_OS_VERSION_26_4 — C macro is not a supported constant
# unsupported in bindings: _UID_T — C macro has no replacement value
# unsupported in bindings: _GID_T — C macro has no replacement value
# unsupported in bindings: _LIBC_COUNT__PATH_MAX — C macro is not a supported constant
# unsupported in bindings: _OFF_T — C macro has no replacement value
# unsupported in bindings: _PID_T — C macro has no replacement value
# unsupported in bindings: _USECONDS_T — C macro has no replacement value
# unsupported in bindings: NULL — C macro is not a supported constant
# unsupported in bindings: _POSIX_ADVISORY_INFO — C macro is not a supported constant
# unsupported in bindings: _POSIX_ASYNCHRONOUS_IO — C macro is not a supported constant
# unsupported in bindings: _POSIX_BARRIERS — C macro is not a supported constant
# unsupported in bindings: _POSIX_CLOCK_SELECTION — C macro is not a supported constant
# unsupported in bindings: _POSIX_CPUTIME — C macro is not a supported constant
# unsupported in bindings: _POSIX_MEMLOCK — C macro is not a supported constant
# unsupported in bindings: _POSIX_MEMLOCK_RANGE — C macro is not a supported constant
# unsupported in bindings: _POSIX_MESSAGE_PASSING — C macro is not a supported constant
# unsupported in bindings: _POSIX_MONOTONIC_CLOCK — C macro is not a supported constant
# unsupported in bindings: _POSIX_PRIORITIZED_IO — C macro is not a supported constant
# unsupported in bindings: _POSIX_PRIORITY_SCHEDULING — C macro is not a supported constant
# unsupported in bindings: _POSIX_RAW_SOCKETS — C macro is not a supported constant
# unsupported in bindings: _POSIX_REALTIME_SIGNALS — C macro is not a supported constant
# unsupported in bindings: _POSIX_SEMAPHORES — C macro is not a supported constant
# unsupported in bindings: _POSIX_SHARED_MEMORY_OBJECTS — C macro is not a supported constant
# unsupported in bindings: _POSIX_SPIN_LOCKS — C macro is not a supported constant
# unsupported in bindings: _POSIX_SPORADIC_SERVER — C macro is not a supported constant
# unsupported in bindings: _POSIX_SYNCHRONIZED_IO — C macro is not a supported constant
# unsupported in bindings: _POSIX_THREAD_CPUTIME — C macro is not a supported constant
# unsupported in bindings: _POSIX_THREAD_PRIO_INHERIT — C macro is not a supported constant
# unsupported in bindings: _POSIX_THREAD_PRIO_PROTECT — C macro is not a supported constant
# unsupported in bindings: _POSIX_THREAD_PRIORITY_SCHEDULING — C macro is not a supported constant
# unsupported in bindings: _POSIX_THREAD_SPORADIC_SERVER — C macro is not a supported constant
# unsupported in bindings: _POSIX_TIMEOUTS — C macro is not a supported constant
# unsupported in bindings: _POSIX_TIMERS — C macro is not a supported constant
# unsupported in bindings: _POSIX_TRACE — C macro is not a supported constant
# unsupported in bindings: _POSIX_TRACE_EVENT_FILTER — C macro is not a supported constant
# unsupported in bindings: _POSIX_TRACE_INHERIT — C macro is not a supported constant
# unsupported in bindings: _POSIX_TRACE_LOG — C macro is not a supported constant
# unsupported in bindings: _POSIX_TYPED_MEMORY_OBJECTS — C macro is not a supported constant
# unsupported in bindings: _POSIX2_FORT_DEV — C macro is not a supported constant
# unsupported in bindings: _POSIX2_PBS — C macro is not a supported constant
# unsupported in bindings: _POSIX2_PBS_ACCOUNTING — C macro is not a supported constant
# unsupported in bindings: _POSIX2_PBS_CHECKPOINT — C macro is not a supported constant
# unsupported in bindings: _POSIX2_PBS_LOCATE — C macro is not a supported constant
# unsupported in bindings: _POSIX2_PBS_MESSAGE — C macro is not a supported constant
# unsupported in bindings: _POSIX2_PBS_TRACK — C macro is not a supported constant
# unsupported in bindings: _POSIX_V6_ILP32_OFF32 — C macro is not a supported constant
# unsupported in bindings: _POSIX_V6_ILP32_OFFBIG — C macro is not a supported constant
# unsupported in bindings: _POSIX_V6_LP64_OFF64 — C macro is not a supported constant
# unsupported in bindings: _POSIX_V6_LPBIG_OFFBIG — C macro is not a supported constant
# unsupported in bindings: _POSIX_V7_ILP32_OFF32 — C macro is not a supported constant
# unsupported in bindings: _POSIX_V7_ILP32_OFFBIG — C macro is not a supported constant
# unsupported in bindings: _POSIX_V7_LP64_OFF64 — C macro is not a supported constant
# unsupported in bindings: _POSIX_V7_LPBIG_OFFBIG — C macro is not a supported constant
# unsupported in bindings: _V6_ILP32_OFF32 — C macro is not a supported constant
# unsupported in bindings: _V6_ILP32_OFFBIG — C macro is not a supported constant
# unsupported in bindings: _V6_LP64_OFF64 — C macro is not a supported constant
# unsupported in bindings: _V6_LPBIG_OFFBIG — C macro is not a supported constant
# unsupported in bindings: _XBS5_ILP32_OFF32 — C macro is not a supported constant
# unsupported in bindings: _XBS5_ILP32_OFFBIG — C macro is not a supported constant
# unsupported in bindings: _XBS5_LP64_OFF64 — C macro is not a supported constant
# unsupported in bindings: _XBS5_LPBIG_OFFBIG — C macro is not a supported constant
# unsupported in bindings: _XOPEN_CRYPT — C macro is not a supported constant
# unsupported in bindings: _XOPEN_ENH_I18N — C macro is not a supported constant
# unsupported in bindings: _XOPEN_LEGACY — C macro is not a supported constant
# unsupported in bindings: _XOPEN_REALTIME — C macro is not a supported constant
# unsupported in bindings: _XOPEN_REALTIME_THREADS — C macro is not a supported constant
# unsupported in bindings: _XOPEN_SHM — C macro is not a supported constant
# unsupported in bindings: _XOPEN_STREAMS — C macro is not a supported constant
# unsupported in bindings: _XOPEN_UNIX — C macro is not a supported constant
# unsupported in bindings: _SC_PAGE_SIZE — C macro is not a supported constant
# unsupported in bindings: _CTERMID_H_ — C macro has no replacement value
# unsupported in bindings: _LIBC_COUNT__L_CTERMID — C macro is not a supported constant
# unsupported in bindings: _SYS_SELECT_H_ — C macro has no replacement value
# unsupported in bindings: _FD_SET — C macro has no replacement value
# unsupported in bindings: _STRUCT_TIMESPEC — C macro is not a supported constant
# unsupported in bindings: _STRUCT_TIMEVAL — C macro is not a supported constant
# unsupported in bindings: _TIME_T — C macro has no replacement value
# unsupported in bindings: _SUSECONDS_T — C macro has no replacement value
# unsupported in bindings: _SIGSET_T — C macro has no replacement value
# unsupported in bindings: FD_SETSIZE — C macro is not a supported constant
# unsupported in bindings: FD_SET — C function-like macros are not supported
# unsupported in bindings: FD_CLR — C function-like macros are not supported
# unsupported in bindings: FD_ISSET — C function-like macros are not supported
# unsupported in bindings: FD_ZERO — C function-like macros are not supported
# unsupported in bindings: FD_COPY — C function-like macros are not supported
# unsupported in bindings: _SYS__SELECT_H_ — C macro has no replacement value
# unsupported in bindings: _DEV_T — C macro has no replacement value
# unsupported in bindings: _MODE_T — C macro has no replacement value
# unsupported in bindings: _UUID_T — C macro has no replacement value