Back to index

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

Go to the source code of this file.

Functions

int posix_spawnattr_setsigdefault (posix_spawnattr_t *attr, const sigset_t *sigdefault)

Function Documentation

Definition at line 24 of file spawnattr_setdefault.c.

{
  /* Copy the sigset_t data to the user buffer.  */
  memcpy (&attr->__sd, sigdefault, sizeof (sigset_t));

  return 0;
}