Re-exports§
pub use crate::os::AccessMode;pub use crate::os::F_OK;pub use crate::os::R_OK;pub use crate::os::W_OK;pub use crate::os::X_OK;pub use super::posix_unix_like::*;
Structs§
- FdDir
Stream - Permissions
- Posix
Spawn Config - Posix
Spawn Scheduler - RawDir
Entry - Stat
VfsInfo - Uname
Decode Error - Uname
Info
Enums§
Constants§
- CLD_
CONTINUED - CLD_
DUMPED - CLD_
EXITED - CLD_
KILLED - CLD_
STOPPED - CLD_
TRAPPED - CLONE_
FILES - CLONE_
FS - CLONE_
NEWCGROUP - CLONE_
NEWIPC - CLONE_
NEWNET - CLONE_
NEWNS - CLONE_
NEWPID - CLONE_
NEWUSER - CLONE_
NEWUTS - CLONE_
SIGHAND - CLONE_
SYSVSEM - CLONE_
THREAD - CLONE_
VM - EFD_
CLOEXEC - EFD_
NONBLOCK - EFD_
SEMAPHORE - EX_
CANTCREAT - EX_
CONFIG - EX_
DATAERR - EX_
IOERR - EX_
NOHOST - EX_
NOINPUT - EX_
NOPERM - EX_
NOUSER - EX_OK
<sysexits.h>. Thelibccrate does not bind these.- EX_
OSERR - EX_
OSFILE - EX_
PROTOCOL - EX_
SOFTWARE - EX_
TEMPFAIL - EX_
UNAVAILABLE - EX_
USAGE - GRND_
NONBLOCK - GRND_
RANDOM - MFD_
ALLOW_ SEALING - MFD_
CLOEXEC - MFD_
HUGETLB - MFD_
HUGE_ MASK - MFD_
HUGE_ SHIFT - PIDFD_
NONBLOCK - POSIX_
FADV_ DONTNEED - POSIX_
FADV_ NOREUSE - POSIX_
FADV_ NORMAL - POSIX_
FADV_ RANDOM - POSIX_
FADV_ SEQUENTIAL - POSIX_
FADV_ WILLNEED - PRIO_
PGRP - Remaining
posixinteger names the VM still took fromlibc. - PRIO_
PROCESS - Remaining
posixinteger names the VM still took fromlibc. - PRIO_
USER - Remaining
posixinteger names the VM still took fromlibc. - P_ALL
- P_PGID
- P_PID
- P_PIDFD
- RTLD_
DEEPBIND - RTLD_
GLOBAL - RTLD_
LAZY - RTLD_
LOCAL - RTLD_
NODELETE - RTLD_
NOLOAD - RTLD_
NOW - SCHED_
BATCH - SCHED_
DEADLINE - SCHED_
FIFO - SCHED_
IDLE - SCHED_
NORMAL - SCHED_
OTHER - SCHED_
RESET_ ON_ FORK - SCHED_
RR - SEEK_
DATA - SEEK_
HOLE - SPLICE_
F_ MORE - SPLICE_
F_ MOVE - SPLICE_
F_ NONBLOCK - TFD_
CLOEXEC - TFD_
NONBLOCK - TFD_
TIMER_ ABSTIME - TFD_
TIMER_ CANCEL_ ON_ SET - UTIME_
NOW - UTIME_
OMIT - WCONTINUED
- WEXITED
- WNOHANG
- WNOWAIT
- WSTOPPED
- WUNTRACED
- XATTR_
CREATE - XATTR_
REPLACE - _PC_
2_ SYMLINKS - _PC_
ALLOC_ SIZE_ MIN - _PC_
ASYNC_ IO - _PC_
CHOWN_ RESTRICTED pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _PC_
FILESIZEBITS - _PC_
LINK_ MAX pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _PC_
MAX_ CANON pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _PC_
MAX_ INPUT pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _PC_
NAME_ MAX pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _PC_
NO_ TRUNC pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _PC_
PATH_ MAX pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _PC_
PIPE_ BUF pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _PC_
PRIO_ IO - _PC_
REC_ INCR_ XFER_ SIZE - _PC_
REC_ MAX_ XFER_ SIZE - _PC_
REC_ MIN_ XFER_ SIZE - _PC_
REC_ XFER_ ALIGN - _PC_
SYMLINK_ MAX - _PC_
SYNC_ IO - _PC_
VDISABLE pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _SC_
2_ CHAR_ TERM - _SC_
2_ C_ BIND - _SC_
2_ C_ DEV - _SC_
2_ FORT_ DEV - _SC_
2_ FORT_ RUN - _SC_
2_ LOCALEDEF - _SC_
2_ SW_ DEV - _SC_
2_ UPE - _SC_
2_ VERSION - _SC_
AIO_ LISTIO_ MAX - _SC_
AIO_ MAX - _SC_
AIO_ PRIO_ DELTA_ MAX - _SC_
ARG_ MAX pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _SC_
ASYNCHRONOUS_ IO - _SC_
ATEXIT_ MAX - _SC_
BC_ BASE_ MAX - _SC_
BC_ DIM_ MAX - _SC_
BC_ SCALE_ MAX - _SC_
BC_ STRING_ MAX - _SC_
CHILD_ MAX pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _SC_
CLK_ TCK pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _SC_
COLL_ WEIGHTS_ MAX - _SC_
DELAYTIMER_ MAX - _SC_
EXPR_ NEST_ MAX - _SC_
FSYNC - _SC_
GETGR_ R_ SIZE_ MAX - _SC_
GETPW_ R_ SIZE_ MAX - _SC_
IOV_ MAX - _SC_
JOB_ CONTROL - _SC_
LINE_ MAX - _SC_
LOGIN_ NAME_ MAX pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _SC_
MAPPED_ FILES - _SC_
MEMLOCK - _SC_
MEMLOCK_ RANGE - _SC_
MEMORY_ PROTECTION - _SC_
MESSAGE_ PASSING - _SC_
MQ_ OPEN_ MAX - _SC_
MQ_ PRIO_ MAX - _SC_
NGROUPS_ MAX pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _SC_
NPROCESSORS_ CONF - _SC_
NPROCESSORS_ ONLN - _SC_
OPEN_ MAX pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _SC_
PAGE_ SIZE pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _SC_
PASS_ MAX - _SC_
PHYS_ PAGES - _SC_
PRIORITIZED_ IO - _SC_
PRIORITY_ SCHEDULING - _SC_
REALTIME_ SIGNALS - _SC_
RE_ DUP_ MAX pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _SC_
RTSIG_ MAX - _SC_
SAVED_ IDS - _SC_
SEMAPHORES - _SC_
SEM_ NSEMS_ MAX - _SC_
SEM_ VALUE_ MAX - _SC_
SHARED_ MEMORY_ OBJECTS - _SC_
SIGQUEUE_ MAX - _SC_
STREAM_ MAX pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _SC_
SYNCHRONIZED_ IO - _SC_
THREADS - _SC_
THREAD_ ATTR_ STACKADDR - _SC_
THREAD_ ATTR_ STACKSIZE - _SC_
THREAD_ DESTRUCTOR_ ITERATIONS - _SC_
THREAD_ KEYS_ MAX - _SC_
THREAD_ PRIORITY_ SCHEDULING - _SC_
THREAD_ PRIO_ INHERIT - _SC_
THREAD_ PRIO_ PROTECT - _SC_
THREAD_ PROCESS_ SHARED - _SC_
THREAD_ SAFE_ FUNCTIONS - _SC_
THREAD_ STACK_ MIN - _SC_
THREAD_ THREADS_ MAX - _SC_
TIMERS - _SC_
TIMER_ MAX - _SC_
TTY_ NAME_ MAX pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _SC_
TZNAME_ MAX pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _SC_
VERSION pathconf/sysconfnames. The VM enum discriminants still took these fromlibc.- _SC_
XBS5_ ILP32_ OFF32 - _SC_
XBS5_ ILP32_ OFFBIG - _SC_
XBS5_ LP64_ OFF64 - _SC_
XBS5_ LPBIG_ OFFBIG - _SC_
XOPEN_ CRYPT - _SC_
XOPEN_ ENH_ I18N - _SC_
XOPEN_ LEGACY - _SC_
XOPEN_ REALTIME - _SC_
XOPEN_ REALTIME_ THREADS - _SC_
XOPEN_ SHM - _SC_
XOPEN_ UNIX - _SC_
XOPEN_ VERSION - _SC_
XOPEN_ XCU_ VERSION
Functions§
- chdir
- check_
access - chroot
- close_
fds - dup2
- dup_fd
- dup_
noninheritable - exec_
replace - execv
- execve
- fchdir
- fchmod
- fchmodat
- fchown
- fchownat
- fork
- forkpty
forkpty(3). The child is a session leader with the slave as its controlling terminal. The parent receives the master fd. The child may seemaster_fd == -1(Apple’sforkpty); that is returned as-1.- fpathconf
- get_
number_ of_ os_ threads - get_
right_ permission - get_
terminal_ size - getegid
- geteuid
- getgid
- getgrouplist
- getgroups
- getlogin
- getpgid
- getpgrp
- getpid
- getppid
- getpriority
- getrandom⚠
- Safety
- getresgid
- getresuid
- getsid
- getuid
- initgroups
- is_
session_ leader - kill
- killpg
killpg(2): signal every process in a process group.- link_
paths - login_
tty - madvise
- mknod
- mknodat
- nice
- openpty
- pathconf
- pidfd_
open - pipe
- pipe2
- posix_
spawn - pread
- pwrite
- restore_
signals - sched_
get_ priority_ max - sched_
get_ priority_ min - sched_
getparam - sched_
getscheduler - sched_
setparam - sched_
setscheduler - sched_
yield - sendfile
- set_
file_ times_ at - set_
inheritable - set_
umask - setegid
- seteuid
- setgid
- setgroups_
if_ needed - setgroups_
raw - setpgid
- setpgid_
if_ needed - setpgrp
- setpriority
- setregid
- setregid_
if_ needed - setresgid
- setresuid
- setreuid
- setreuid_
if_ needed - setsid
- setsid_
if_ needed - setuid
- setup_
child_ fds - stat_fd
- statvfs_
fd - statvfs_
path - supports_
posix_ spawn_ setsid - symlinkat
- sync
- sysconf
- tcgetpgrp
- tcsetpgrp
- ttyname
- umask
- uname_
info - validate_
posix_ spawn_ signal - wait3
wait3(2)iswait4(-1, ...).- wait4
wait4(2).rusageis zeroed whenpid == 0(WNOHANG, no child ready).- waitpid
- wcoredump
- wexitstatus
- wifcontinued
- wifexited
- wifsignaled
- wifstopped
- write_
fd - wstopsig
- wtermsig
Type Aliases§
- Priority
Which Type - Priority
WhoType - c_char
- Equivalent to C’s
chartype. - pid_t