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_getuid - 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_initgroups" width="11" height="7"/> <posix_getsid
Last updated: Fri, 22 Aug 2008

view this page in

posix_getuid

(PHP 4, PHP 5)

posix_getuid現在のプロセスの実際のユーザ ID を返す

説明

int posix_getuid ( void )

現在のプロセスの実際のユーザ ID を返します。

返り値

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

例1 posix_getuid() の使用例

<?php
echo posix_getuid(); //10000
?>

参考

  • 使用可能なユーザ名に変換する方法に関する情報については、 posix_getpwuid() も参照ください。
  • POSIX man ページ GETUID(2)



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

posix_initgroups" width="11" height="7"/> <posix_getsid
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites