POSIX_GETLOGIN(3) 1 POSIX_GETLOGIN(3) posix_getlogin - Return login nameSYNOPSISstring posix_getlogin (void )DESCRIPTIONReturns the login name of the user owning the current process.RETURN VALUESReturns the login name of the user, as a string.EXAMPLESExample #1 Example use of posix_getlogin(3) <?php echo posix_getlogin(); //apache ?>SEE ALSOposix_getpwnam(3), POSIX man page GETLOGIN(3). PHP Documentation Group POSIX_GETLOGIN(3)
| Related Man Pages |
|---|
| getlogin_r(3p) - centos |
| getlogin_r(3) - posix |
| ftp_chdir(3) - php |
| php_strip_whitespace(3) - php |
| posix_getegid(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| Rules for Homework & Coursework Questions Forum |
| Forum Video Tutorial: How to Use Code Tags |
| New Code Tags (Syntax Highlighting) |
| Please Welcome Nicki Paul to the Moderator Team! |