hpux man page for logname

Query: logname

OS: hpux

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

logname(3C)															       logname(3C)

NAME
logname() - return login name of user
SYNOPSIS
DESCRIPTION
returns a pointer to the null-terminated login name; it extracts the variable from the user's environment.
WARNINGS
returns a pointer to static data that is overwritten by each subsequent call. This method of determining a login name is subject to forgery.
FILES
SEE ALSO
env(1), login(1), profile(4), environ(5), thread_safety(5).
STANDARDS CONFORMANCE
logname(3C)
Related Man Pages
logname(1) - opensolaris
grpck(1b) - opensolaris
grpck(1b) - minix
grpck(1b) - freebsd
grpck(1b) - osx
Similar Topics in the Unix Linux Community
Python and logname
help programming for lognames
How to make LOGNAME writeable? It is set as READONLY in .profile
Unix $USER and $LOGNAME environment variables
UNIX $USER and $LOGNAME environment variables