posix_getlogin(3) php man page | unix.com

Man Page: posix_getlogin

Operating Environment: php

Section: 3

POSIX_GETLOGIN(3)							 1							 POSIX_GETLOGIN(3)

posix_getlogin - Return login name

SYNOPSIS
string posix_getlogin (void )
DESCRIPTION
Returns the login name of the user owning the current process.
RETURN VALUES
Returns the login name of the user, as a string.
EXAMPLES
Example #1 Example use of posix_getlogin(3) <?php echo posix_getlogin(); //apache ?>
SEE ALSO
posix_getpwnam(3), POSIX man page GETLOGIN(3). PHP Documentation Group POSIX_GETLOGIN(3)
Related Man Pages
getlogin_r(3p) - centos
getlogin(2) - osx
setlogin(2) - osx
php_sapi_name(3) - php
ftp_chdir(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework &amp; Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun