diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/os.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 29e7899..7c96bfe 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -161,6 +161,15 @@ process and user. Availability: Unix. +.. function:: initgroups(username, gid) + + Call the system initgroups() to initialize the group access list with all of + the groups of which the specified username is a member, plus the specified + group id. Availability: Unix. + + .. versionadded:: 3.2 + + .. function:: getlogin() Return the name of the user logged in on the controlling terminal of the |