summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-04-26 20:59:40 (GMT)
committerFred Drake <fdrake@acm.org>2002-04-26 20:59:40 (GMT)
commitd3e6678713503c7f8173bbb03be895425f0ab840 (patch)
tree2607fa519648843e2108adf14a712777e3ae7dab /Doc/lib
parenta7bb2b9b305bdd2f8c1e29ddcc142f72c9978b9a (diff)
downloadcpython-d3e6678713503c7f8173bbb03be895425f0ab840.zip
cpython-d3e6678713503c7f8173bbb03be895425f0ab840.tar.gz
cpython-d3e6678713503c7f8173bbb03be895425f0ab840.tar.bz2
Slightly expand and clarify the differences between getegid(), getgid(),
getpgrp(), and setpgid(). This closes SF bug #547939.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libos.tex15
1 files changed, 9 insertions, 6 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index e56f24e..834e562 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -114,7 +114,9 @@ Availability: \UNIX.
\end{funcdesc}
\begin{funcdesc}{getegid}{}
-Return the current process' effective group id.
+Return the effective group id of the current process. This
+corresponds to the `set id' bit on the file being executed in the
+current process.
Availability: \UNIX.
\end{funcdesc}
@@ -126,7 +128,7 @@ Availability: \UNIX.
\begin{funcdesc}{getgid}{}
\index{process!group}
-Return the current process' group id.
+Return the real group id of the current process.
Availability: \UNIX.
\end{funcdesc}
@@ -144,7 +146,7 @@ Availability: \UNIX.
\begin{funcdesc}{getpgrp}{}
\index{process!group}
-Return the current process group id.
+Return the id of the current process group.
Availability: \UNIX.
\end{funcdesc}
@@ -219,9 +221,10 @@ Calls the system call \cfunction{setpgrp()} or \cfunction{setpgrp(0,
Availability: \UNIX.
\end{funcdesc}
-\begin{funcdesc}{setpgid}{pid, pgrp}
-Calls the system call \cfunction{setpgid()}. See the \UNIX{} manual
-for the semantics.
+\begin{funcdesc}{setpgid}{pid, pgrp} Calls the system call
+\cfunction{setpgid()} to set the process group id of the process with
+id \var{pid} to the process group with id \var{pgrp}. See the \UNIX{}
+manual for the semantics.
Availability: \UNIX.
\end{funcdesc}