Slightly expand and clarify the differences between getegid(), getgid(),
getpgrp(), and setpgid(). This closes SF bug #547939.
This commit is contained in:
parent
a7bb2b9b30
commit
d3e6678713
|
@ -114,7 +114,9 @@ Availability: \UNIX.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{getegid}{}
|
\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.
|
Availability: \UNIX.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -126,7 +128,7 @@ Availability: \UNIX.
|
||||||
|
|
||||||
\begin{funcdesc}{getgid}{}
|
\begin{funcdesc}{getgid}{}
|
||||||
\index{process!group}
|
\index{process!group}
|
||||||
Return the current process' group id.
|
Return the real group id of the current process.
|
||||||
Availability: \UNIX.
|
Availability: \UNIX.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -144,7 +146,7 @@ Availability: \UNIX.
|
||||||
|
|
||||||
\begin{funcdesc}{getpgrp}{}
|
\begin{funcdesc}{getpgrp}{}
|
||||||
\index{process!group}
|
\index{process!group}
|
||||||
Return the current process group id.
|
Return the id of the current process group.
|
||||||
Availability: \UNIX.
|
Availability: \UNIX.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -219,9 +221,10 @@ Calls the system call \cfunction{setpgrp()} or \cfunction{setpgrp(0,
|
||||||
Availability: \UNIX.
|
Availability: \UNIX.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{setpgid}{pid, pgrp}
|
\begin{funcdesc}{setpgid}{pid, pgrp} Calls the system call
|
||||||
Calls the system call \cfunction{setpgid()}. See the \UNIX{} manual
|
\cfunction{setpgid()} to set the process group id of the process with
|
||||||
for the semantics.
|
id \var{pid} to the process group with id \var{pgrp}. See the \UNIX{}
|
||||||
|
manual for the semantics.
|
||||||
Availability: \UNIX.
|
Availability: \UNIX.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue