diff options
Diffstat (limited to 'cpukit/libcsupport/src/setsid.c')
-rw-r--r-- | cpukit/libcsupport/src/setsid.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/setsid.c b/cpukit/libcsupport/src/setsid.c new file mode 100644 index 0000000000..cbebdb4952 --- /dev/null +++ b/cpukit/libcsupport/src/setsid.c @@ -0,0 +1,21 @@ +/* + * $Id$ + */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#include <unistd.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 ); +} |