note 80842 deleted from function.posix-getpgid by joey
| From: | joey@php.net | Date: | Tue, 08 Dec 2009 06:38:42 +0000 |
| Subject: | note 80842 deleted from function.posix-getpgid by joey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-163706@lists.php.net to get a copy of this message | ||
Note Submitter: bozo_z_clown at yahoo dot com
----
posix_getpgid() returns NULL if the given pid doesn't exist and can therefore be used to
determine if a particular pid refers to an existing process. Beware, however, that pids are
recycled so this method can result in false positives.