pcntl_exec PHP 4.1.0

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

 

exec() で定義されるように、現在のプロセス空間で指定されたプログラムを実行します。

pcntl_fork PHP 4.1.0

int pcntl_fork(void)

 

Unix の fork( ) システムコールと同様に、現在実行中のプロセスをフォークします。

pcntl_signal PHP 4.1.0

bool pcntl_signal(long signo, mixed handle)

 

システムシグナルハンドラーを PHP 関数に割り当てます。

pcntl_waitpid PHP 4.1.0

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

 

waitpid( ) システムコールで定義されるように、待機するか、またはフォークされた子プロセスのステータスを返します。

pcntl_wexitstatus PHP 4.1.0

int pcntl_wexitstatus(long status)

 

子プロセスの終了のステータスコードを返します。

pcntl_wifexited PHP 4.1.0

bool pcntl_wifexited(long status)

 

子プロセスのステータスコードが正常終了を表している場合は true を返します。

pcntl_wifsignaled PHP 4.1.0

bool pcntl_wifsignaled(long status)

 

子プロセスのステータスコードがシグナルによって終了したプロセスを表している場合は true を返します。

pcntl_wifstopped PHP 4.1.0

bool pcntl_wifstopped(long status)

 

子プロセスのステータスコードが停止したプロセスを表している場合は true を返します (waitpid() で WUNTRACED が使用されている必要があります)。

pcntl_wstopsig PHP 4.1.0

int pcntl_wstopsig(long status)

 

指定されたプロセスを停止させたシグナルの番号を返します。

pcntl_wtermsig PHP 4.1.0

int pcntl_wtermsig(long status)

 

指定されたプロセスを終了させたシグナルの番号を返します。