about summary refs log tree commit diff
path: root/src/unistd/setpgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/setpgrp.c')
-rw-r--r--src/unistd/setpgrp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/unistd/setpgrp.c b/src/unistd/setpgrp.c
new file mode 100644
index 00000000..a2a37f65
--- /dev/null
+++ b/src/unistd/setpgrp.c
@@ -0,0 +1,6 @@
+#include <unistd.h>
+
+pid_t setpgrp(void)
+{
+	return setpgid(0, 0);
+}