Expand description
Safe wrappers around functions found in libc “unistd.h” header
Modules§
- Alarm signal scheduling.
 
Structs§
- Options for access()
 - Process identifier
 
Enums§
- Represents the successful result of calling
fork - Flags for
linkatfunction. - Flags for
unlinkatfunction. 
Functions§
- Change the current working directory of the calling process (see chdir(2)).
 - Set the file flags.
 - Close a raw file descriptor
 - Create a copy of the specified file descriptor (see dup(2)).
 - Create a copy of the specified file descriptor using the specified fd (see dup(2)).
 - Create a new copy of the specified file descriptor using the specified fd and flags (see dup(2)).
 - Replace the current process image with a new one (see exec(3)).
 - Replace the current process image with a new one (see execve(2)).
 - Replace the current process image with a new one and replicate shell
PATHsearching behavior (see exec(3)). - Checks the file named by
pathfor accessibility according to the flags given bymode - Change the current working directory of the process to the one given as an open file descriptor (see fchdir(2)).
 - fork⚠Create a new child process duplicating the parent process (see fork(2)).
 - Synchronize changes to a file
 - Truncate a file to a specified length
 - Returns the current directory as a
PathBuf - 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).
 - Link one file to another file
 - Move the read/write file offset.
 - Creates new fifo special file (named pipe) with path
pathand access rightsmode. - Creates a regular file which persists even after process termination
 - 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
 - Creates a symbolic link at
path2which points topath1. - Truncate a file to a specified length
 - Remove a directory entry
 - Remove a directory entry
 - Write to a raw file descriptor.