posix_getuid(3) php man page | unix.com

Man Page: posix_getuid

Operating Environment: php

Section: 3

POSIX_GETUID(3) 							 1							   POSIX_GETUID(3)

posix_getuid - Return the real user ID of the current process

SYNOPSIS
int posix_getuid (void )
DESCRIPTION
Return the numeric real user ID of the current process.
RETURN VALUES
Returns the user id, as an integer
EXAMPLES
Example #1 Example use of posix_getuid(3) <?php echo posix_getuid(); //10000 ?>
SEE ALSO
posix_getpwuid(3), POSIX man page GETUID(2). PHP Documentation Group POSIX_GETUID(3)
Related Man Pages
geteuid(2) - linux
getuid(3p) - suse
posix_getpwuid(3) - php
fileowner(3) - php
posix_getegid(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Nicki Paul to the Moderator Team!