summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/setpgid.c
blob: f3251bcacd44bfd27a85a401bcfa679c2cc7abb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
 *  @file
 *
 *  @brief Set Process Group ID for Job Control 
 *  @ingroup libcsupport
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#include <unistd.h>
#include <errno.h>
#include <rtems/seterr.h>

/**
 *  4.3.3 Set Process Group ID for Job Control, P1003.1b-1993, p. 89
 */
int setpgid(
  pid_t  pid __attribute__((unused)),
  pid_t  pgid __attribute__((unused))
)
{
  rtems_set_errno_and_return_minus_one( ENOSYS );
}