Back to index

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

Go to the source code of this file.

Functions

int __sigprocmask (int how, const sigset_t *set, sigset_t *oset)

Function Documentation

int __sigprocmask ( int  how,
const sigset_t set,
sigset_t oset 
)

Definition at line 27 of file sigprocmask.c.

{
  switch (how)
    {
    case SIG_BLOCK:
    case SIG_UNBLOCK:
    case SIG_SETMASK:
      break;
    default:
      __set_errno (EINVAL);
      return -1;
    }

  __set_errno (ENOSYS);
  return -1;
}