diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-07-24 15:32:25 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-07-24 15:32:25 +0000 |
commit | 403e351dfcb406ab78204be1c56aeae1ddde7d85 (patch) | |
tree | 41c31ba61bff3b00dc3f8aa43b121222446445b8 | |
parent | 77f6ccd1f7a692d3701797d79f36113d9a94c717 (diff) | |
download | cpython-git-403e351dfcb406ab78204be1c56aeae1ddde7d85.tar.gz |
Flesh out description of getlogin() and recommend against using it.
-rw-r--r-- | Doc/lib/libos.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 4220d6dd6e..7a6389039b 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -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} |