Back to index

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

Go to the source code of this file.

Functions

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

Function Documentation

Definition at line 24 of file spawnattr_getsigmask.c.

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

  return 0;
}