downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<PCNTL FunctionsPOSIX>
Last updated: Thu, 26 Jun 2008

pcntl_wtermsig

(PHP 4 >= 4.0.7, PHP 5)

pcntl_wtermsig — Returns the signal which caused the child to terminate

Description

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_waitpid().

Return Values

Returns the signal number, as an integer.



add a noteadd a note User Contributed Notes
Returns the signal which caused the child to terminate
There are no user contributed notes for this page.




<PCNTL FunctionsPOSIX>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs