Back to index

glibc  2.9
Functions
sigempty.c File Reference
#include <errno.h>
#include <signal.h>
#include <string.h>

Go to the source code of this file.

Functions

int sigemptyset (sigset_t *set)

Function Documentation

int sigemptyset ( sigset_t set)

Definition at line 25 of file sigempty.c.

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

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

  return 0;
}

Here is the caller graph for this function: