summaryrefslogtreecommitdiffstats
path: root/lib/setsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/setsid.c')
-rw-r--r--lib/setsid.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/setsid.c b/lib/setsid.c
new file mode 100644
index 000000000..c157b7135
--- /dev/null
+++ b/lib/setsid.c
@@ -0,0 +1,12 @@
+/*
+ * linux/lib/setsid.c
+ *
+ * Copyright (C) 1991, 1992 Linus Torvalds
+ */
+
+#define __LIBRARY__
+#include <linux/types.h>
+#include <linux/unistd.h>
+
+_syscall0(pid_t,setsid)
+