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

search for in the

posix_getppid> <posix_getpgrp
Last updated: Fri, 18 Jul 2008

view this page in

posix_getpid

(PHP 4, PHP 5)

posix_getpid — 現在のプロセス ID を返す

説明

int posix_getpid ( void )

現在のプロセスのプロセス ID を返します。

返り値

ID を表す整数値を返します。

例1 posix_getpid() の使用例

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

参考

  • posix_kill() は、プロセスを殺します
  • POSIX man ページ 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, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites