+ General POSIX IO library.
+
+
+ | bind (host, port, family, socktype) |
+
+ Create a new socket and bind it to a network address. |
+
+
+
+ | chdir (path) |
+
+ Change the working directory. |
+
+
+
+ | closelog () |
+
+ (POSIX) Close the connection to the system logger. |
+
+
+
+ | connect (host, port, family, socktype) |
+
+ Create a new socket and connect to a network address. |
+
+
+
+ | crypt (key, salt) |
+
+ (POSIX) Encrypt a user password. |
+
+
+
+ | dup (oldfd, newfd) |
+
+ Duplicate a file descriptor. |
+
+
+
+ | errno () |
+
+ Get the last system error code. |
+
+
+
+ | exec (executable, ...) |
+
+ Execute a file to replace the current process. |
+
+
+
+ | exece (executable, arguments, environment) |
+
+ Execute a file with a custom environment to replace the current process. |
+
+
+
+ | execp (executable, ...) |
+
+ Invoke the shell and execute a file to replace the current process. |
+
+
+
+ | fork () |
+
+ (POSIX) Clone the current process. |
+
+
+
+ | getaddrinfo (host, family, service) |
+
+ Look up a hostname and service via DNS. |
+
+
+
+ | getcwd () |
+
+ Get the current working directory. |
+
+
+
+ | getenv (variable) |
+
+ Get the current environment table or a specific environment variable. |
+
+
+
+ | getgid () |
+
+ (POSIX) Get the group id of the current process. |
+
+
+
+ | getgr (group) |
+
+ (POSIX) Get all or a specific user group. |
+
+
+
+ | getifaddrs () |
+
+ (Linux, BSD) Get a list of available network interfaces and their addresses. |
+
+
+
+ | getnameinfo (ipaddr) |
+
+ Reverse look up an IP-Address via DNS. |
+
+
+
+ | getpid () |
+
+ Get the ID of the current process. |
+
+
+
+ | getppid () |
+
+ (POSIX) Get the parent process id of the current process. |
+
+
+
+ | getproto (proto) |
+
+ Get all or a specifc proto entry. |
+
+
+
+ | getprotobyname (name) |
+
+ Get protocol entry by name. |
+
+
+
+ | getprotobynumber (proto) |
+
+ Get protocol entry by number. |
+
+
+
+ | getpw (user) |
+
+ (POSIX) Get all or a specific user account. |
+
+
+
+ | getsp (user) |
+
+ (Linux, Solaris) Get all or a specific shadow password entry. |
+
+
+
+ | getuid () |
+
+ (POSIX) Get the user id of the current process. |
+
+
+
+ | kill (target, signal) |
+
+ (POSIX) Send a signal to one or more processes. |
+
+
+
+ | nanosleep (seconds, nanoseconds) |
+
+ Sleep for a specified amount of time. |
+
+
+
+ | nice (nice) |
+
+ (POSIX) Change priority of current process. |
+
+
+
+ | open (path, flags, mode) |
+
+ Open a file. |
+
+
+
+ | open_flags (flag1, ...) |
+
+ Generate flags for a call to open(). |
+
+
+
+ | openlog (ident, flag1, ...) |
+
+ (POSIX) Open a connection to the system logger. |
+
+
+
+ | pipe () |
+
+ Create a pipe. |
+
+
+
+ | poll (fds, timeout) |
+
+ Wait for some event on a file descriptor. |
+
+
+
+ | poll_flags (mode1, ...) |
+
+ Generate events-bitfield or parse revents-bitfield for poll. |
+
+
+
+ | sendfile (socket, file, length) |
+
+ (POSIX) Send data from a file to a socket in kernel-space. |
+
+
+
+ | setenv (variable, value) |
+
+ Set or unset a environment variable. |
+
+
+
+ | setgid (gid) |
+
+ (POSIX) Set the group id of the current process. |
+
+
+
+ | setlogmask (priority) |
+
+ (POSIX) Set the logmask of the system logger for current process. |
+
+
+
+ | setsid () |
+
+ (POSIX) Create a new session and set the process group ID. |
+
+
+
+ | setuid (gid) |
+
+ (POSIX) Set the user id of the current process. |
+
+
+
+ | signal (signal, handler) |
+
+ Ignore or use set the default handler for a signal. |
+
+
+
+ | socket (domain, type) |
+
+ Create a new socket. |
+
+
+
+ | splice (fdin, fdout, length, flags) |
+
+ (Linux) Send data from / to a pipe in kernel-space. |
+
+
+
+ | splice_flags (flag1, ...) |
+
+ (Linux) Generate a flag bitfield for a call to splice. |
+
+
+
+ | strerror (errno) |
+
+ Get the error message for the corresponding error code. |
+
+
+
+ | sysinfo () |
+
+ (Linux) Get overall system statistics. |
+
+
+
+ | syslog (priority) |
+
+ (POSIX) Write a message to the system logger. |
+
+
+
+ | times () |
+
+ (POSIX) Get process times. |
+
+
+
+ | tls (mode) |
+
+ Create a new TLS context. |
+
+
+
+ | umask (mask) |
+
+ Sets the file mode creation mask. |
+
+
+
+ | uname () |
+
+ (POSIX) Get information about current system and kernel. |
+
+
+
+ | waitpid (pid, flag1, ...) |
+
+ (POSIX) Wait for a process to change state. |
+
+
+