Files
rtems/cpukit/libcsupport/src/setpgid.c
Sebastian Huber 80cf60efec Canonicalize config.h include
Use the following variant which was already used by most source files:

  #ifdef HAVE_CONFIG_H
  #include "config.h"
  #endif
2020-04-16 07:30:00 +02:00

28 lines
414 B
C

/**
* @file
*
* @brief Set Process Group ID for Job Control
* @ingroup libcsupport
*/
#ifdef 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 );
}