posix_setsid

(PHP 4, PHP 5, PHP 7) Make the current process a session leader int posix_setsid ( void ) Make the current process a session leader. Returns: Returns the session id, or -1 on errors.

posix_setrlimit

(PHP 7) Set system resource limits bool posix_setrlimit ( int $resource, int $softlimit, int $hardlimit ) posix_setrlimit() sets the soft and hard limits for a given system resource. Each resource has an associated soft and hard limit. The soft limit is the value that the kernel enforces for the corresponding resource. The hard limit acts as a ceiling for the soft limit. An unprivileged process may only set its soft limit

posix_setpgid

(PHP 4, PHP 5, PHP 7) Set process group id for job control bool posix_setpgid ( int $pid, int $pgid ) Let the process pid join the process group pgid. Parameters: pid The process id. pgid The process group id. Returns: Returns TRUE on success or FALSE on failure.

posix_setgid

(PHP 4, PHP 5, PHP 7) Set the GID of the current process bool posix_setgid ( int $gid ) Set the real group ID of the current process. This is a privileged function and needs appropriate privileges (usually root) on the system to be able to perform this function. The appropriate order of function calls is posix_setgid() first, posix_setuid() last. Note: If the caller is a super user, this will also set the effective group

posix_seteuid

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Set the effective UID of the current process bool posix_seteuid ( int $uid ) Set the real user ID of the current process. This is a privileged function and needs appropriate privileges (usually root) on the system to be able to perform this function. Parameters: uid The user id. Returns: Returns TRUE on success o

posix_setegid

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Set the effective GID of the current process bool posix_setegid ( int $gid ) Set the effective group ID of the current process. This is a privileged function and needs appropriate privileges (usually root) on the system to be able to perform this function. Parameters: gid The group id. Returns: Returns TRUE on su

posix_mknod

(PHP 5 >= 5.1.0, PHP 7) Create a special or ordinary file (POSIX.1) bool posix_mknod ( string $pathname, int $mode [, int $major = 0 [, int $minor = 0 ]] ) Creates a special or ordinary file. Parameters: pathname The file to create mode This parameter is constructed by a bitwise OR between file type (one of the following constant

posix_mkfifo

(PHP 4, PHP 5, PHP 7) Create a fifo special file (a named pipe) bool posix_mkfifo ( string $pathname, int $mode ) posix_mkfifo() creates a special FIFO file which exists in the file system and acts as a bidirectional communication endpoint for processes. Parameters: pathname Path to the FIFO file. mode The second parameter mode has to b

posix_kill

(PHP 4, PHP 5, PHP 7) Send a signal to a process bool posix_kill ( int $pid, int $sig ) Send the signal sig to the process with the process identifier pid. Parameters: pid The process identifier. sig One of the PCNTL signals constants. Returns: Returns TRUE on success or FALSE on failure.

posix_isatty

(PHP 4, PHP 5, PHP 7) Determine if a file descriptor is an interactive terminal bool posix_isatty ( mixed $fd ) Determines if the file descriptor fd refers to a valid terminal type device. Parameters: fd The file descriptor, which is expected to be either a file resource or an integer. An integer will be assumed to be a file descriptor that can be passed directly to the u