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 を変更します |
posix_getegid
There are no user contributed notes for this page.