summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-07-24 15:32:25 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-07-24 15:32:25 (GMT)
commit403e351dfcb406ab78204be1c56aeae1ddde7d85 (patch)
tree41c31ba61bff3b00dc3f8aa43b121222446445b8 /Doc/lib
parent77f6ccd1f7a692d3701797d79f36113d9a94c717 (diff)
downloadcpython-403e351dfcb406ab78204be1c56aeae1ddde7d85.zip
cpython-403e351dfcb406ab78204be1c56aeae1ddde7d85.tar.gz
cpython-403e351dfcb406ab78204be1c56aeae1ddde7d85.tar.bz2
Flesh out description of getlogin() and recommend against using it.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libos.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 4220d6d..7a63890 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}