summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/setpgid.c
blob: dd810d7559195269a82f9d6d9d21362760f26242 (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
26
27
/**
 *  @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,
  pid_t  pgid
)
{
  (void) pid;
  (void) pgid;
  rtems_set_errno_and_return_minus_one( ENOSYS );
}