diff options
Diffstat (limited to 'src/unistd/setegid.c')
-rw-r--r-- | src/unistd/setegid.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/unistd/setegid.c b/src/unistd/setegid.c new file mode 100644 index 00000000..85348842 --- /dev/null +++ b/src/unistd/setegid.c @@ -0,0 +1,6 @@ +#include <unistd.h> + +int setegid(gid_t egid) +{ + return setregid(-1, egid); +} |