[-?
@(#)$Id: logname (AT&T Research) 1999-04-30 $
]
[+NAME?logname - return the user's login name]
[+DESCRIPTION?\blogname\b writes the users's login name to standard output.  The login name is the string that is returned by the \bgetlogin\b(2) function.  If \bgetlogin\b(2) does not return successfully, the corresponding to the real user id of the calling process is used instead.]



[+EXIT STATUS?]{
[+0?Successful Completion.]
[+>0?An error occurred.]
}
[+SEE ALSO?\bgetlogin\b(2)]
