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
posix_geteuid(3) - php
posix_getpwuid(3) - php
posix_getpwnam(3) - php
posix_setuid(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch