summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/setsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/setsid.c')
-rw-r--r--cpukit/libcsupport/src/setsid.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/setsid.c b/cpukit/libcsupport/src/setsid.c
new file mode 100644
index 0000000000..81a60a798d
--- /dev/null
+++ b/cpukit/libcsupport/src/setsid.c
@@ -0,0 +1,28 @@
+/*
+ * $Id$
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <limits.h>
+#include <errno.h>
+#include <string.h>
+#include <sys/types.h>
+
+#include <rtems/system.h>
+#include <rtems/score/object.h>
+#include <rtems/seterr.h>
+
+/*PAGE
+ *
+ * 4.3.2 Create Session and Set Process Group ID, P1003.1b-1993, p. 88
+ */
+
+pid_t setsid( void )
+{
+ rtems_set_errno_and_return_minus_one( EPERM );
+}
+
+