aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/getsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/getsid.c')
-rw-r--r--src/unistd/getsid.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unistd/getsid.c b/src/unistd/getsid.c
index 93ba690e..da4479cc 100644
--- a/src/unistd/getsid.c
+++ b/src/unistd/getsid.c
@@ -5,3 +5,11 @@ pid_t getsid(pid_t pid)
{
return syscall(SYS_getsid, pid);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif