Expand description
Safe wrappers around functions found in libc “unistd.h” header
Modules§
- alarm
 - Alarm signal scheduling.
 
Structs§
- Pid
 - Process identifier
 
Enums§
- Fork
Result  - Represents the successful result of calling 
fork 
Functions§
- close
 - Close a file descriptor.
 - daemon
 - Daemonize this process by detaching from the controlling terminal (see daemon(3)).
 - execv
 - Replace the current process image with a new one (see exec(3)).
 - execve
 - Replace the current process image with a new one (see execve(2)).
 - execveat
 - Execute program relative to a directory file descriptor (see execveat(2)).
 - execvp
 - Replace the current process image with a new one and replicate shell 
PATHsearching behavior (see exec(3)). - execvpe
 - Replace the current process image with a new one and replicate shell 
PATHsearching behavior (seeexecvpe(3)). - fexecve
 - Replace the current process image with a new one (see fexecve(2)).
 - fork⚠
 - Create a new child process duplicating the parent process (see fork(2)).
 - getpgid
 - Get process group
 - getpgrp
 - Get the group id of the calling process (see getpgrp(3)).
 - getpid
 - Get the pid of this process (see getpid(2)).
 - getppid
 - Get the pid of this processes’ parent (see getpid(2)).
 - getsid
 - Get the process group ID of a session leader getsid(2).
 - gettid
 - Get the caller’s thread ID (see gettid(2).
 - pause
 - Suspend the thread until a signal is received.
 - pipe
 - Create an interprocess channel.
 - read
 - Read from a raw file descriptor.
 - setpgid
 - Set a process group ID (see setpgid(2)).
 - setsid
 - Create new session and set process group id (see setsid(2)).
 - sleep
 - Suspend execution for an interval of time
 - write
 - Write to a raw file descriptor.