source: rtems/c/src/exec/posix/src/setsid.c @ 165fe39

4.104.114.84.95
Last change on this file since 165fe39 was 165fe39, checked in by Joel Sherrill <joel.sherrill@…>, on 11/16/99 at 16:01:54

Return a reasonable error other than ENOSYS.

  • Property mode set to 100644
File size: 348 bytes
Line 
1/*
2 *  $Id$
3 */
4
5#include <limits.h>
6#include <errno.h>
7#include <string.h>
8#include <sys/types.h>
9
10#include <rtems/system.h>
11#include <rtems/score/object.h>
12#include <rtems/posix/seterr.h>
13
14/*PAGE
15 *
16 *  4.3.2 Create Session and Set Process Group ID, P1003.1b-1993, p. 88
17 */
18
19pid_t setsid( void )
20{
21  set_errno_and_return_minus_one( EPERM );
22}
23
24
Note: See TracBrowser for help on using the repository browser.