Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ logname(3X) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

env(1)

login(1)

profile(4)

environ(5)




logname(3X) logname(3X)
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 variable from the user's environ- ment. This routine is kept in /lib/libPW.a. FILES /etc/profile SEE ALSO env(1), login(1), profile(4), environ(5). BUGS 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. April, 1990 1

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