diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-05 19:23:36 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-05 19:23:36 +0000 |
commit | 9281d180d13057917f618c35ef7433d2e4d4dd86 (patch) | |
tree | b497158acdc1a81b93b938a2f76376c88bc7799b /libc/sysdeps/linux/common/setegid.c | |
parent | 775622914fa0a2814c705d25b1a3929002c5c785 (diff) |
Completely rearchitected the sysdeps directory.
-Erik
Diffstat (limited to 'libc/sysdeps/linux/common/setegid.c')
-rw-r--r-- | libc/sysdeps/linux/common/setegid.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/setegid.c b/libc/sysdeps/linux/common/setegid.c new file mode 100644 index 000000000..3eebf60fb --- /dev/null +++ b/libc/sysdeps/linux/common/setegid.c @@ -0,0 +1,6 @@ +#include <unistd.h> + +int setegid(gid_t gid) +{ + return __setregid(-1, gid); +} |