pcntl_strerror

(PHP 5 >= 5.3.4, PHP 7) Retrieve the system error message associated with the given errno string pcntl_strerror ( int $errno ) Parameters: errno Returns: Returns error description on success or FALSE on failure. This function is currently not documented; only its argument list is available.

pcntl_sigwaitinfo

(PHP 5 >= 5.3.0, PHP 7) Waits for signals int pcntl_sigwaitinfo ( array $set [, array &$siginfo ] ) The pcntl_sigwaitinfo() function suspends execution of the calling script until one of the signals given in set are delivered. If one of the signal is already pending (e.g. blocked by pcntl_sigprocmask()), pcntl_sigwaitinfo() will return immediately. Parameters: set

pcntl_sigtimedwait

(PHP 5 >= 5.3.0, PHP 7) Waits for signals, with a timeout int pcntl_sigtimedwait ( array $set [, array &$siginfo [, int $seconds = 0 [, int $nanoseconds = 0 ]]] ) The pcntl_sigtimedwait() function operates in exactly the same way as pcntl_sigwaitinfo() except that it takes two additional parameters, seconds and nanoseconds, which enable an upper bound to be placed on the time for which the script is suspended.

pcntl_sigprocmask

(PHP 5 >= 5.3.0, PHP 7) Sets and retrieves blocked signals bool pcntl_sigprocmask ( int $how, array $set [, array &$oldset ] ) The pcntl_sigprocmask() function adds, removes or sets blocked signals, depending on the how parameter. Parameters: how Sets the behavior of pcntl_sigprocmask(). Possible values: SIG_BLOCK: Add the signals to the currently blocked signals

pcntl_signal

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Installs a signal handler bool pcntl_signal ( int $signo, callable|int $handler [, bool $restart_syscalls = true ] ) The pcntl_signal() function installs a new signal handler or replaces the current signal handler for the signal indicated by signo. Parameters: signo The signal number. handler The sign

pcntl_signal_dispatch

(PHP 5 >= 5.3.0, PHP 7) Calls signal handlers for pending signals bool pcntl_signal_dispatch ( void ) The pcntl_signal_dispatch() function calls the signal handlers installed by pcntl_signal() for each pending signal. Returns: Returns TRUE on success or FALSE on failure. Examples: pcntl_signal_dispatch() example <?p

pcntl_setpriority

(PHP 5, PHP 7) Change the priority of any process bool pcntl_setpriority ( int $priority [, int $pid = getmypid() [, int $process_identifier = PRIO_PROCESS ]] ) pcntl_setpriority() sets the priority of pid. Parameters: priority priority is generally a value in the range -20 to 20. The default priority is 0 while a lower numerical value causes more favorable scheduling.

pcntl_getpriority

(PHP 5, PHP 7) Get the priority of any process int pcntl_getpriority ([ int $pid = getmypid() [, int $process_identifier = PRIO_PROCESS ]] ) pcntl_getpriority() gets the priority of pid. Because priority levels can differ between system types and kernel versions, please see your system's getpriority(2) man page for specific details. Parameters: pid If not specified, the

pcntl_get_last_error

(PHP 5 >= 5.3.4, PHP 7) Retrieve the error number set by the last pcntl function which failed int pcntl_get_last_error ( void ) Returns: Returns error code. This function is currently not documented; only its argument list is available. See also: pcntl_strerror() -

pcntl_fork

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Forks the currently running process int pcntl_fork ( void ) The pcntl_fork() function creates a child process that differs from the parent process only in its PID and PPID. Please see your system's fork(2) man page for specific details as to how fork works on your system. Returns: On success, the PID of the child process is returned in the parent's thread of execu