Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getlogin(3C) — posix — mips UMIPS RISC/os 4.52

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getgrnam(3C)

getpwuid(3C)



GETLOGIN(3C-POSIX)  RISC/os Reference Manual   GETLOGIN(3C-POSIX)



NAME
     getlogin - get login name

SYNOPSIS
     char *getlogin ( );

DESCRIPTION
     getlogin returns a pointer to a string giving the user name
     associated with the calling process.  This value corresponds
     to the name the user logged in under, even if several login
     names share the name user ID.

DIAGNOSTICS
     getlogin returns a NULL pointer if the user's login name
     cannot be found.

CAVEAT
     The return value points to static data whose content is
     overwritten by each call.

SEE ALSO
     getgrnam(3C), getpwuid(3C).

































                         Printed 1/15/91                   Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026