summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/setresgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/unistd/setresgid.c')
-rw-r--r--lib/libc/unistd/setresgid.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/unistd/setresgid.c b/lib/libc/unistd/setresgid.c
new file mode 100644
index 00000000..6de609fa
--- /dev/null
+++ b/lib/libc/unistd/setresgid.c
@@ -0,0 +1,7 @@
+#include <unistd.h>
+#include <syscall.h>
+
+int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
+{
+ return syscall(setresgid, rgid, egid, sgid);
+}