summaryrefslogtreecommitdiff
path: root/src/unistd/getsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/getsid.c')
-rw-r--r--src/unistd/getsid.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/unistd/getsid.c b/src/unistd/getsid.c
new file mode 100644
index 00000000..671b19ec
--- /dev/null
+++ b/src/unistd/getsid.c
@@ -0,0 +1,11 @@
+#include <unistd.h>
+
+pid_t getsid(pid_t pid)
+{
+ return pid;
+}
+
+/*
+XOPEN(400)
+POSIX(200809)
+*/