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