Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4b37364f
Commit
4b37364f
authored
Feb 03, 2003
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #678077: Suggest alternative to os.getlogin()
parent
da72d937
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Doc/lib/libos.tex
Doc/lib/libos.tex
+3
-1
No files found.
Doc/lib/libos.tex
View file @
4b37364f
...
...
@@ -141,7 +141,9 @@ Availability: \UNIX.
\begin{funcdesc}
{
getlogin
}{}
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.
environment variable
\envvar
{
LOGNAME
}
to find out who the user is,
or
\code
{
pwd.getpwuid(os.getuid())[0]
}
to get the login name
of the currently effective user ID.
Availability:
\UNIX
.
\end{funcdesc}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment