summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/os.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 42d28fa..29e7899 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -196,19 +196,22 @@ process and user.
Return the parent's process id. Availability: Unix.
+
.. function:: getresuid()
Return a tuple (ruid, euid, suid) denoting the current process's
real, effective, and saved user ids. Availability: Unix.
- .. versionadded:: 2.7/3.2
+ .. versionadded:: 3.2
+
.. function:: getresgid()
Return a tuple (rgid, egid, sgid) denoting the current process's
real, effective, and saved user ids. Availability: Unix.
- .. versionadded:: 2.7/3.2
+ .. versionadded:: 3.2
+
.. function:: getuid()
@@ -284,19 +287,22 @@ process and user.
Set the current process's real and effective group ids. Availability: Unix.
+
.. function:: setresgid(rgid, egid, sgid)
Set the current process's real, effective, and saved group ids.
Availability: Unix.
- .. versionadded:: 2.7/3.2
+ .. versionadded:: 3.2
+
.. function:: setresuid(ruid, euid, suid)
Set the current process's real, effective, and saved user ids.
Availibility: Unix.
- .. versionadded:: 2.7/3.2
+ .. versionadded:: 3.2
+
.. function:: setreuid(ruid, euid)