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, 14 Aug 2009

view this page in

posix_getpid

(PHP 4, PHP 5)

posix_getpidRetourne l'identifiant du processus courant

Description

int posix_getpid ( void )

Retourne l'identifiant du processus courant.

Valeurs de retour

Retourne l'identifiant, sous la forme d'un entier.

Exemples

Exemple #1 Exemple avec posix_getpid()

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

Voir aussi

  • posix_kill() - Envoie un signal à un processus
  • 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, 14 Aug 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites