Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ logname(3X) — svr3 — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getenv(3C)

profile(4)

environ(5)

env(1)

login(1)



LOGNAME(3X-SVR3)    RISC/os Reference Manual     LOGNAME(3X-SVR3)



NAME
     logname - return login name of user

SYNOPSIS
     char *logname( )

DESCRIPTION
     logname returns a pointer to the null-terminated login name;
     it extracts the LOGNAME environment variable from the user's
     environment.

     This routine is kept in /usr/lib/libPW.a.

FILES
     /etc/profile

SEE ALSO
     getenv(3C), profile(4), environ(5).
     env(1), login(1) in the User's Reference Manual.

CAVEATS
     The return values point to static data whose content is
     overwritten by each call.

     This method of determining a login name is subject to for-
     gery.





























                        Printed 11/19/92                   Page 1



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