Back to index

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

Go to the source code of this file.

Functions

int posix_spawnattr_setsigmask (posix_spawnattr_t *attr, const sigset_t *sigmask)

Function Documentation

Definition at line 24 of file spawnattr_setsigmask.c.

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

  return 0;
}