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
getuid32(2) - linux
getuid(3) - linux
getuid(3p) - posix
posix_getpwuid(3) - php
fileowner(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun