Back to index

glibc  2.9
Functions
spawnattr_getpgroup.c File Reference
#include <spawn.h>
#include <string.h>

Go to the source code of this file.

Functions

int posix_spawnattr_getpgroup (const posix_spawnattr_t *attr, pid_t *pgroup)

Function Documentation

Definition at line 24 of file spawnattr_getpgroup.c.

{
  /* Copy the process group ID.  */
  *pgroup = attr->__pgrp;

  return 0;
}