diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-07-24 15:32:25 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-07-24 15:32:25 (GMT) |
commit | 403e351dfcb406ab78204be1c56aeae1ddde7d85 (patch) | |
tree | 41c31ba61bff3b00dc3f8aa43b121222446445b8 /Doc/lib | |
parent | 77f6ccd1f7a692d3701797d79f36113d9a94c717 (diff) | |
download | cpython-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.tex | 5 |
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} |