Basic usage
pcntl_alarm
PCNTL
PHP Manual

# PCNTL Functions

# See Also

A look at the section about POSIX functions may be useful.

## Table of Contents

- pcntl_alarm — Set an alarm clock for delivery of a signal
- pcntl_errno — Alias of pcntl_strerror
- pcntl_exec — Executes specified program in current process space
- pcntl_fork — Forks the currently running process
- pcntl_get_last_error — Retrieve the error number set by the last pcntl function which failed
- pcntl_getpriority — Get the priority of any process
- pcntl_setpriority — Change the priority of any process
- pcntl_signal_dispatch — Calls signal handlers for pending signals
- pcntl_signal — Installs a signal handler
- pcntl_sigprocmask — Sets and retrieves blocked signals
- pcntl_sigtimedwait — Waits for signals, with a timeout
- pcntl_sigwaitinfo — Waits for signals
- pcntl_strerror — Retrieve the system error message associated with the given errno
- pcntl_wait — Waits on or returns the status of a forked child
- pcntl_waitpid — Waits on or returns the status of a forked child
- pcntl_wexitstatus — Returns the return code of a terminated child
- pcntl_wifexited — Checks if status code represents a normal exit
- pcntl_wifsignaled — Checks whether the status code represents a termination due to a signal
- pcntl_wifstopped — Checks whether the child process is currently stopped
- pcntl_wstopsig — Returns the signal which caused the child to stop
- pcntl_wtermsig — Returns the signal which caused the child to terminate

Basic usage
pcntl_alarm
PCNTL
PHP Manual