pcntl_exec PHP 4.1.0

bool pcntl_exec(string path[, array args[, array envs]])

 

Executes specified program in current process space as defined by exec().

pcntl_fork PHP 4.1.0

int pcntl_fork(void)

 

Forks the currently running process following the same behavior as the Unix fork( ) system call.

pcntl_signal PHP 4.1.0

bool pcntl_signal(long signo, mixed handle)

 

Assigns a system signal handler to a PHP function.

pcntl_waitpid PHP 4.1.0

int pcntl_waitpid(long pid, long status, long options)

 

Waits on or returns the status of a forked child as defined by the waitpid( ) system call.

pcntl_wexitstatus PHP 4.1.0

int pcntl_wexitstatus(long status)

 

Returns the status code of a child's exit.

pcntl_wifexited PHP 4.1.0

bool pcntl_wifexited(long status)

 

Returns true if the child status code represents a successful exit.

pcntl_wifsignaled PHP 4.1.0

bool pcntl_wifsignaled(long status)

 

Returns true if the child status code represents a process that was terminated due to a signal.

pcntl_wifstopped PHP 4.1.0

bool pcntl_wifstopped(long status)

 

Returns true if the child status code represents a stopped process (WUNTRACED must have been used with waitpid()).

pcntl_wstopsig PHP 4.1.0

int pcntl_wstopsig(long status)

 

Returns the number of the signal that caused the specified process to stop.

pcntl_wtermsig PHP 4.1.0

int pcntl_wtermsig(long status)

 

Returns the number of the signal that terminated the specified process.