Expose setgroups. Fixes feature request #468116.

This commit is contained in:
Martin v. Löwis 2001-10-18 04:06:00 +00:00
parent 6b47129424
commit 61c5edf6fc
6 changed files with 62 additions and 4 deletions

View file

@ -204,6 +204,13 @@ Set the current process' group id.
Availability: \UNIX{}.
\end{funcdesc}
\begin{funcdesc}{setgroups}{groups}
Set list of supplemental group ids associated with the current
process to \var{groups}.
Availability: \UNIX{}.
\versionadded{2.2}
\end{funcdesc}
\begin{funcdesc}{setpgrp}{}
Calls the system call \cfunction{setpgrp()} or \cfunction{setpgrp(0,
0)} depending on which version is implemented (if any). See the