summaryrefslogtreecommitdiffstats
path: root/usr/klibc/getpgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/klibc/getpgrp.c')
-rw-r--r--usr/klibc/getpgrp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr/klibc/getpgrp.c b/usr/klibc/getpgrp.c
new file mode 100644
index 0000000..b20b17a
--- /dev/null
+++ b/usr/klibc/getpgrp.c
@@ -0,0 +1,10 @@
+/*
+ * getpgrp.c
+ */
+
+#include <unistd.h>
+
+pid_t getpgrp(void)
+{
+ return getpgid(0);
+}