posix_ctermid

(PHP 4, PHP 5, PHP 7) Get path name of controlling terminal string posix_ctermid ( void ) Generates a string which is the pathname for the current controlling terminal for the process. On error this will set errno, which can be checked using posix_get_last_error() Returns: Upon successful completion, returns string of the pathname to the current controlling terminal. Otherwise FALSE is returned an

posix_access

(PHP 5 >= 5.1.0, PHP 7) Determine accessibility of a file bool posix_access ( string $file [, int $mode = POSIX_F_OK ] ) posix_access() checks the user's permission of a file. Parameters: file The name of the file to be tested. mode A mask consisting of one or more of POSIX_F_OK, POSIX_R_OK, POSIX_W_OK and POSIX_X_OK. POSIX_R_OK

pcntl_wtermsig

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Returns the signal which caused the child to terminate int pcntl_wtermsig ( int $status ) Returns the number of the signal that caused the child process to terminate. This function is only useful if pcntl_wifsignaled() returned TRUE. Parameters: status The status parameter is the status parameter supplied to a successful call to pcntl_wait

pcntl_wstopsig

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Returns the signal which caused the child to stop int pcntl_wstopsig ( int $status ) Returns the number of the signal which caused the child to stop. This function is only useful if pcntl_wifstopped() returned TRUE. Parameters: status The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().

pcntl_wifstopped

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Checks whether the child process is currently stopped bool pcntl_wifstopped ( int $status ) Checks whether the child process which caused the return is currently stopped; this is only possible if the call to pcntl_waitpid() was done using the option WUNTRACED. Parameters: status The status parameter is the status parameter supplied to a su

pcntl_wifsignaled

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Checks whether the status code represents a termination due to a signal bool pcntl_wifsignaled ( int $status ) Checks whether the child process exited because of a signal which was not caught. Parameters: status The status parameter is the status parameter supplied to a successful call to pcntl_waitpid(). Returns:

pcntl_wifexited

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Checks if status code represents a normal exit bool pcntl_wifexited ( int $status ) Checks whether the child status code represents a normal exit. Parameters: status The status parameter is the status parameter supplied to a successful call to pcntl_waitpid(). Returns: Returns TRUE if the child status code represen

pcntl_wexitstatus

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Returns the return code of a terminated child int pcntl_wexitstatus ( int $status ) Returns the return code of a terminated child. This function is only useful if pcntl_wifexited() returned TRUE. Parameters: status The status parameter is the status parameter supplied to a successful call to pcntl_waitpid(). Returns:

pcntl_waitpid

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Waits on or returns the status of a forked child int pcntl_waitpid ( int $pid, int &$status [, int $options = 0 ] ) Suspends execution of the current process until a child as specified by the pid argument has exited, or until a signal is delivered whose action is to terminate the current process or to call a signal handling function. If a child as requested by pid has already exited b

pcntl_wait

(PHP 5, PHP 7) Waits on or returns the status of a forked child int pcntl_wait ( int &$status [, int $options = 0 ] ) The wait function suspends execution of the current process until a child has exited, or until a signal is delivered whose action is to terminate the current process or to call a signal handling function. If a child has already exited by the time of the call (a so-called "zombie" process), the function r