Back to index

glibc  2.9
sigfillset.c File Reference
#include <errno.h>
#include <signal.h>
#include <string.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


int sigfillset (sigset_t *set)

Function Documentation

int sigfillset ( sigset_t set)

Definition at line 25 of file sigfillset.c.

  if (set == NULL)
      __set_errno (EINVAL);
      return -1;

  memset (set, 0xff, sizeof (sigset_t));

  /* If the implementation uses a cancellation signal don't set the bit.  */
  __sigdelset (set, SIGCANCEL);
  /* Likewise for the signal to implement setxid.  */
  __sigdelset (set, SIGSETXID);

  return 0;

Here is the caller graph for this function: