From ef04832454fd83898f1569d756cc0b8e4c1cf37f Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Thu, 5 Aug 2004 00:17:39 +0000 Subject: [PATCH] (Processes): Add setgroups. --- doc/ref/posix.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi index 474ac6f79..70ddadb96 100644 --- a/doc/ref/posix.texi +++ b/doc/ref/posix.texi @@ -1365,6 +1365,16 @@ is returned. @code{(provided? 'EIDs)} reports whether the system supports effective IDs. @end deffn +@deffn {Scheme Procedure} setgroups vec +@deffnx {C Function} scm_setgroups (vec) +Set the current set of supplementary group IDs to the integers in the +given vector @var{vec}. The return value is unspecified. + +Generally only the superuser can set the process group IDs +(@pxref{Setting Groups, Setting the Group IDs,, libc, The GNU C +Library Reference Manual}). +@end deffn + @deffn {Scheme Procedure} setuid id @deffnx {C Function} scm_setuid (id) Sets both the real and effective user IDs to the integer @var{id}, provided