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_getegid - 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_geteuid" width="11" height="7"/> <posix_getcwd
Last updated: Thu, 31 May 2007

view this page in

posix_getegid

(PHP 4, PHP 5)

posix_getegid — 現在のプロセスの有効なグループ ID を返す

説明

int posix_getegid ( void )

現在のプロセスの有効なグループ ID を返します。

返り値

実効グループ ID を表す整数値を返します。

例 1819. posix_getegid() example

This example will print out your effective group id, once you change it with posix_setegid().

<?php
echo 'My real group id is '.posix_getgid(); //20
posix_setegid(40);
echo
'My real group id is '.posix_getgid(); //20
echo 'My effective group id is '.posix_getegid(); //40
?>

注意

posix_getegid() is different than posix_getgid() by you can change the effective group ID of a calling process using the posix_setegid().

参考

posix_getgrgid() は、これをグループ名に変換します
posix_getgid() は、実グループ ID を取得します
posix_setgid() は、実効グループ ID を変更します



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

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