
#include <sys/types.h> #include <unistd.h> int setegid(gid_t groupID);
setegid changes the effective group ID
of the current process to the ID
specified by groupID.
Note: This function can only be called by a superuser.
setegid returns a 0 if successful and a
-1 if unsuccessful.
setegid function is defined by the POSIX.1a standard.
getegid, getgid, setgid, setuid
Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.