Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: posix_getpid - Manual
[go: Go Back, main page]

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

search for in the

posix_getppid" width="11" height="7"/> <posix_getpgrp
Last updated: Fri, 05 Sep 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
rfbednar at computer dot org
08-Aug-2008 12:33
This doesn't work with XAMPP under windows xp.

posix_getppid" width="11" height="7"/> <posix_getpgrp
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites