summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/setsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/posix/src/setsid.c')
-rw-r--r--c/src/exec/posix/src/setsid.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/setsid.c b/c/src/exec/posix/src/setsid.c
new file mode 100644
index 0000000000..3954ae8fc7
--- /dev/null
+++ b/c/src/exec/posix/src/setsid.c
@@ -0,0 +1,24 @@
+/*
+ * $Id$
+ */
+
+#include <limits.h>
+#include <errno.h>
+#include <string.h>
+#include <sys/types.h>
+
+#include <rtems/system.h>
+#include <rtems/score/object.h>
+#include <rtems/posix/seterr.h>
+
+/*PAGE
+ *
+ * 4.3.2 Create Session and Set Process Group ID, P1003.1b-1993, p. 88
+ */
+
+pid_t setsid( void )
+{
+ set_errno_and_return_minus_one( ENOSYS );
+}
+
+