Expand description
Safe wrappers around functions found in libc “unistd.h” header
Modules§
Structs§
- Process identifier
Enums§
- Represents the successful result of calling
fork
Functions§
- Close a raw file descriptor
- Daemonize this process by detaching from the controlling terminal (see daemon(3)).
- Replace the current process image with a new one (see exec(3)).
- Replace the current process image with a new one (see execve(2)).
- Execute program relative to a directory file descriptor (see execveat(2)).
- Replace the current process image with a new one and replicate shell
PATH
searching behavior (see exec(3)). - Replace the current process image with a new one and replicate shell
PATH
searching behavior (seeexecvpe(3)
). - 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)).
- Get process group
- Get the group id of the calling process (see getpgrp(3)).
- Get the pid of this process (see getpid(2)).
- Get the pid of this processes’ parent (see getpid(2)).
- Get the process group ID of a session leader getsid(2).
- Get the caller’s thread ID (see gettid(2).
- Suspend the thread until a signal is received.
- Create an interprocess channel.
- Read from a raw file descriptor.
- Set a process group ID (see setpgid(2)).
- Create new session and set process group id (see setsid(2)).
- Suspend execution for an interval of time
- Write to a raw file descriptor.