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_getpgid - 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_getpgrp" width="11" height="7"/> <posix_getlogin
Last updated: Thu, 31 May 2007

view this page in

posix_getpgid

(PHP 4, PHP 5)

posix_getpgid — ジョブ制御のプロセスグループ ID を得る

説明

int posix_getpgid ( int $pid )

プロセス pid のプロセスグループ ID を返します。

パラメータ

pid

プロセス ID。

返り値

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

例 1826. posix_getpgid() の使用例

<?php
echo posix_getpgid(); //35
?>

注意

注意: この関数は POSIX 関数ではなく、BSD および System V のシステムで共通な関数です。 使用するシステムがこの関数をサポートしていない場合は、 PHP のコンパイル時にこの関数は組み込まれません。 この関数が使用可能かどうかを調べるには、function_exists() を使用します。

参考

posix_getppid()
man ページ SETPGID(2)



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

posix_getpgrp" width="11" height="7"/> <posix_getlogin
Last updated: Thu, 31 May 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites