Back to index

glibc  2.9
sigsetmask.c File Reference
#include <errno.h>
#include <signal.h>
#include <sigset-cvt-mask.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


int __sigsetmask (int mask)

Function Documentation

int __sigsetmask ( int  mask)

Definition at line 26 of file sigsetmask.c.

  sigset_t set, oset;

  if (sigset_set_old_mask (&set, mask) < 0)
    return -1;

  if (__sigprocmask (SIG_SETMASK, &set, &oset) < 0)
    return -1;

  return sigset_get_old_mask (&oset);

Here is the caller graph for this function: