Query: logname
OS: hpux
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
logname(3C) logname(3C)NAMElogname() - return login name of userSYNOPSISDESCRIPTIONreturns a pointer to the null-terminated login name; it extracts the variable from the user's environment.WARNINGSreturns a pointer to static data that is overwritten by each subsequent call. This method of determining a login name is subject to forgery.FILESSEE ALSOenv(1), login(1), profile(4), environ(5), thread_safety(5).STANDARDS CONFORMANCElogname(3C)