Query: posix_geteuid
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
POSIX_GETEUID(3) 1 POSIX_GETEUID(3) posix_geteuid - Return the effective user ID of the current processSYNOPSISint posix_geteuid (void )DESCRIPTIONReturn the numeric effective user ID of the current process. See also posix_getpwuid(3) for information on how to convert this into a use- able username.RETURN VALUESReturns the user id, as an integerEXAMPLESExample #1 posix_geteuid(3) example This example will show the current user id then set the effective user id to a separate id using posix_seteuid(3), then show the difference between the real id and the effective id. <?php echo posix_getuid()." "; //10001 echo posix_geteuid()." "; //10001 posix_seteuid(10000); echo posix_getuid()." "; //10001 echo posix_geteuid()." "; //10000 ?>SEE ALSOposix_getpwuid(3), posix_getuid(3), posix_setuid(3), POSIX man page GETEUID(2). PHP Documentation Group POSIX_GETEUID(3)
Related Man Pages |
---|
posix_geteuid(3) - php |
imap_mailboxmsginfo(3) - php |
numfmt_get_attribute(3) - php |
posix_getegid(3) - php |
posix_getpwnam(3) - php |
Similar Topics in the Unix Linux Community |
---|
file name Manipulation using sed |
problem in arithmetic operations |
help pls! need to move and copy pattern... |
Simple scripting. |
Remove Double Value at Latest Output |