downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

posix_getppid> <posix_getpgrp
Last updated: Fri, 20 Nov 2009

view this page in

posix_getpid

(PHP 4, PHP 5)

posix_getpidReturn the current process identifier

Opis

int posix_getpid ( void )

Return the process identifier of the current process.

Zwracane wartości

Returns the identifier, as an integer.

Przykłady

Przykład #1 Example use of posix_getpid()

<?php
echo posix_getpid(); //8805
?>

Zobacz też:

  • posix_kill() - Send a signal to a process
  • POSIX man page GETPID(2)



add a note add a note User Contributed Notes
posix_getpid
There are no user contributed notes for this page.

posix_getppid> <posix_getpgrp
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites