Skip to main content

Module unistd

Module unistd 

Source
Expand description

Re-exports§

pub use crate::header::pthread::fork_hooks;
pub use crate::header::stdio::ctermid;
pub use crate::header::stdio::cuserid;Deprecated

Modules§

constants
path

Constants§

F_LOCK
Lock a section for exclusive use.
F_OK
F_TEST
Test section for locks by other processes.
F_TLOCK
Test and lock a section for exclusive use.
F_ULOCK
Unlock locked sections.
L_cuserid
R_OK
SEEK_CUR
SEEK_END
SEEK_SET
STDERR_FILENO
STDIN_FILENO
STDOUT_FILENO
W_OK
X_OK
_CS_PATH
_CS_POSIX_V5_WIDTH_RESTRICTED_ENVS
_CS_POSIX_V6_ILP32_OFF32_CFLAGS
_CS_POSIX_V6_ILP32_OFF32_LDFLAGS
_CS_POSIX_V6_ILP32_OFF32_LIBS
_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS
_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS
_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS
_CS_POSIX_V6_ILP32_OFFBIG_LIBS
_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS
_CS_POSIX_V6_LP64_OFF64_CFLAGS
_CS_POSIX_V6_LP64_OFF64_LDFLAGS
_CS_POSIX_V6_LP64_OFF64_LIBS
_CS_POSIX_V6_LP64_OFF64_LINTFLAGS
_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS
_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS
_CS_POSIX_V6_LPBIG_OFFBIG_LIBS
_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS
_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS
_CS_POSIX_V7_ILP32_OFF32_CFLAGS
_CS_POSIX_V7_ILP32_OFF32_LDFLAGS
_CS_POSIX_V7_ILP32_OFF32_LIBS
_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS
_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS
_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS
_CS_POSIX_V7_ILP32_OFFBIG_LIBS
_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS
_CS_POSIX_V7_LP64_OFF64_CFLAGS
_CS_POSIX_V7_LP64_OFF64_LDFLAGS
_CS_POSIX_V7_LP64_OFF64_LIBS
_CS_POSIX_V7_LP64_OFF64_LINTFLAGS
_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS
_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS
_CS_POSIX_V7_LPBIG_OFFBIG_LIBS
_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS
_CS_POSIX_V7_WIDTH_RESTRICTED_ENVS
_PC_2_SYMLINKS
_PC_ALLOC_SIZE_MIN
_PC_ASYNC_IO
_PC_CHOWN_RESTRICTED
_PC_FILESIZEBITS
_PC_LINK_MAX
_PC_MAX_CANON
_PC_MAX_INPUT
_PC_NAME_MAX
_PC_NO_TRUNC
_PC_PATH_MAX
_PC_PIPE_BUF
_PC_PRIO_IO
_PC_REC_INCR_XFER_SIZE
_PC_REC_MAX_XFER_SIZE
_PC_REC_MIN_XFER_SIZE
_PC_REC_XFER_ALIGN
_PC_SOCK_MAXBUF
_PC_SYMLINK_MAX
_PC_SYNC_IO
_PC_VDISABLE
Check if file (terminal) supports disabling control chars (CC)
_SC_ARG_MAX
_SC_AVPHYS_PAGES
_SC_BARRIERS
_SC_CHILD_MAX
_SC_CLK_TCK
_SC_GETGR_R_SIZE_MAX
_SC_GETPW_R_SIZE_MAX
_SC_HOST_NAME_MAX
_SC_LOGIN_NAME_MAX
_SC_MONOTONIC_CLOCK
_SC_NGROUPS_MAX
_SC_NPROCESSORS_CONF
_SC_NPROCESSORS_ONLN
_SC_OPEN_MAX
_SC_PAGESIZE
_SC_PAGE_SIZE
_SC_PHYS_PAGES
_SC_REALTIME_SIGNALS
_SC_RE_DUP_MAX
_SC_SEMAPHORES
_SC_SHARED_MEMORY_OBJECTS
_SC_SHELL
_SC_SIGQUEUE_MAX
_SC_STREAM_MAX
_SC_SYMLOOP_MAX
_SC_THREADS
_SC_THREAD_ATTR_STACKADDR
_SC_THREAD_ATTR_STACKSIZE
_SC_TIMEOUTS
_SC_TIMERS
_SC_TTY_NAME_MAX
_SC_TZNAME_MAX
_SC_VERSION

Statics§

optarg
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getopt.html.
opterr
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getopt.html.
optind
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getopt.html.
optopt
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getopt.html.

Functions§

_Fork
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fork.html.
_exit
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/_Exit.html.
access
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/access.html.
alarm
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/alarm.html.
brkDeprecated
See https://pubs.opengroup.org/onlinepubs/7908799/xsh/brk.html.
chdir
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/chdir.html.
chown
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/chown.html.
chrootDeprecated
See https://pubs.opengroup.org/onlinepubs/7908799/xsh/chroot.html.
close
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/close.html.
confstr
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/confstr.html.
crypt
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/crypt.html.
daemon
Non-POSIX, see https://www.man7.org/linux/man-pages/man3/daemon.3.html.
dup
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/dup.html.
dup2
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/dup.html.
dup3
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/dup.html.
execl
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/exec.html.
execle
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/exec.html.
execlp
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/exec.html.
execv
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/exec.html.
execve
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/exec.html.
execvp
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/exec.html.
faccessat
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/faccessat.html.
fchdir
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fchdir.html.
fchown
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fchown.html.
fchownat
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fchownat.html.
fdatasync
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fdatasync.html.
fexecve
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fexecve.html.
fork
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fork.html.
fpathconf
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fpathconf.html.
fsync
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fsync.html.
ftruncate
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/ftruncate.html.
get_cpu_count
get_mem_stat
getcwd
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getcwd.html.
getdtablesizeDeprecated
See https://pubs.opengroup.org/onlinepubs/7908799/xsh/getdtablesize.html.
getegid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getegid.html.
getentropy
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getentropy.html.
geteuid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/geteuid.html.
getgid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getgid.html.
getgroups
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getgroups.html.
gethostid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/gethostid.html.
gethostname
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/gethostname.html.
getlogin
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getlogin.html.
getlogin_r
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getlogin.html.
getopt
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getopt.html.
getpagesizeDeprecated
See https://pubs.opengroup.org/onlinepubs/7908799/xsh/getpagesize.html.
getpgid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getpgid.html.
getpgrp
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getpgrp.html.
getpid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getpid.html.
getppid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getppid.html.
getresgid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getresgid.html.
getresuid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getresuid.html.
getsid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getsid.html.
getuid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getuid.html.
getwdDeprecated
See https://pubs.opengroup.org/onlinepubs/009695399/functions/getwd.html.
isatty
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/isatty.html.
lchown
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/lchown.html.
link
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/link.html.
linkat
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/linkat.html.
lockf
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/lockf.html.
lseek
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/lseek.html.
nice
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/nice.html.
pathconf
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fpathconf.html.
pause
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/pause.html.
pipe
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/pipe.html.
pipe2
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/pipe.html.
posix_close
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/posix_close.html.
pread
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/read.html.
pwrite
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/write.html.
read
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/read.html.
readlink
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/readlink.html.
readlinkat
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/readlinkat.html.
rmdir
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/rmdir.html.
sbrkDeprecated
See https://pubs.opengroup.org/onlinepubs/7908799/xsh/brk.html.
setegid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/setegid.html.
seteuid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/seteuid.html.
setgid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/setgid.html.
setpgid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/setpgid.html.
setpgrpDeprecated
See https://pubs.opengroup.org/onlinepubs/9699919799/functions/setpgrp.html.
setregid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/setregid.html.
setresgid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/setresgid.html.
setresuid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/setresuid.html.
setreuid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/setreuid.html.
setsid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/setsid.html.
setuid
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/setuid.html.
sleep
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/sleep.html.
swab
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/swab.html.
symlink
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/symlink.html.
symlinkat
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/symlinkat.html.
sync
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/sync.html.
sysconf
tcgetpgrp
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/tcgetpgrp.html.
tcsetpgrp
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/tcsetpgrp.html.
truncate
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/truncate.html.
ttyname
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/ttyname.html.
ttyname_r
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/ttyname.html.
ualarmDeprecated
See https://pubs.opengroup.org/onlinepubs/009695399/functions/ualarm.html.
unlink
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/unlink.html.
unlinkat
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/unlinkat.html.
usleepDeprecated
See https://pubs.opengroup.org/onlinepubs/009695399/functions/usleep.html.
vforkDeprecated
See https://pubs.opengroup.org/onlinepubs/009695399/functions/vfork.html.
write
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/write.html.