Back to index

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

Go to the source code of this file.

Functions

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

Function Documentation

Definition at line 25 of file spawnattr_getdefault.c.

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

  return 0;
}