Module unix

Source

ModulesΒ§

umask πŸ”’

MacrosΒ§

impl_is_minus_one πŸ”’

StructsΒ§

Sys
UnixFileDesc
Raw file descriptor for the target platform.
UnixPid
Process ID for the target platform.
UnixTermSettings
Saved terminal settings.

ConstantsΒ§

CLOEXEC_MSG_FOOTER πŸ”’
STDERR_FILENO
STDIN_FILENO
STDOUT_FILENO

TraitsΒ§

IsMinusOne πŸ”’

FunctionsΒ§

arg_into_args πŸ”’
close_extra_fds πŸ”’ ⚠
cvt πŸ”’
exec πŸ”’
os2c πŸ”’
rlimit_to_c πŸ”’
send_error_to_parent πŸ”’ ⚠
Send an error code back tot he parent from a child process indicating it failed to fork. This function exits the child when done (i.e. never returns). ONLY call on error in a child process. SAFETY: this is doing β€œunsafe” libc/process stuff…
setup_group_term πŸ”’
Setup the process group for the current pid as well term if interactive. Call from both the parent and child proc to avoid race conditions.

Type AliasesΒ§

OsSignal
An OS signal.
RlimitResource
mode_t