Back to index

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

Go to the source code of this file.

Functions

int posix_spawnattr_setpgroup (posix_spawnattr_t *attr, pid_t pgroup)

Function Documentation

Definition at line 24 of file spawnattr_setpgroup.c.

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

  return 0;
}