logname(1)            MPE/iX Shell and Utilities            logname(1)
  ______________________________________________________________________

  NAME
       logname -- display user name

  SYNOPSIS
       logname

  DESCRIPTION
       logname displays the login name of the person who issues the com-
       mand.  It obtains this through the getlogin() function defined in
       the POSIX.1 standard.

  ENVIRONMENT VARIABLES

       LOGNAME
           contains your user name.

  DIAGNOSTICS
       Possible exit status values are:

       0  Successful completion.

       1  logname could not determine the login name.

  PORTABILITY
       POSIX.2.  x/OPEN Portability Guide 4.0.  UNIX System V.

  MPE/iX NOTES
       For information on how the current MPE/iX implementation may
       affect the operation of this utility, see Appendix A, MPE/iX
       Implementation Considerations.

  SEE ALSO
       env(1), id(1), environ(3)

                                                                       1