man(1) Manual page archive


     GETLOGIN(3)                                           GETLOGIN(3)

     NAME
          getlogin - get login name

     SYNOPSIS
          char *getlogin()

     DESCRIPTION
          Getlogin returns a pointer to the login name as set by
          setlogname; see getuid(2).

          It is preferable, but less portable, to call getlogname; see
          getuid(2).

     FILES
          overwritten by each call.