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_getsid - 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_getuid" width="11" height="7"/> <posix_getrlimit
Last updated: Fri, 03 Oct 2008

view this page in

posix_getsid

(PHP 4, PHP 5)

posix_getsidプロセスの現在の sid を得る

説明

int posix_getsid ( int $pid )

プロセス pid のセッション ID を返します。 プロセスのセッション ID とは、セッションリーダーのプロセスグループ ID のことです。

パラメータ

pid

プロセス ID。0 を指定すると、現在のプロセスとみなされます。

返り値

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

例1 posix_getsid() の使用例

<?php
$pid 
posix_getpid();
echo 
posix_getsid($pid); //8805
?>

参考



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

posix_getuid" width="11" height="7"/> <posix_getrlimit
Last updated: Fri, 03 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites