1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00

(Processes): Add setgroups.

This commit is contained in:
Kevin Ryde 2004-08-05 00:17:39 +00:00
parent 03034594e0
commit ef04832454

View file

@ -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