Kaydet (Commit) 403e351d authored tarafından Jeremy Hylton's avatar Jeremy Hylton

Flesh out description of getlogin() and recommend against using it.

üst 77f6ccd1
......@@ -139,8 +139,9 @@ Availability: \UNIX.
\end{funcdesc}
\begin{funcdesc}{getlogin}{}
Return the actual login name for the current process, even if there
are multiple login names which map to the same user id.
Return the name of the user logged in on the controlling terminal of
the process. For most purposes, it is more useful to use the
environment variable \envvar{LOGNAME} to find out who the user is.
Availability: \UNIX.
\end{funcdesc}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment