Back to index

glibc  2.9
Functions
sigaction.c File Reference
#include <errno.h>
#include <signal.h>
#include <stub-tag.h>

Go to the source code of this file.

Functions

int __sigaction (int sig, const struct sigaction *act, struct sigaction *oact)

Function Documentation

int __sigaction ( int  sig,
const struct sigaction act,
struct sigaction oact 
)

Definition at line 26 of file sigaction.c.

{
  if (sig <= 0 || sig >= NSIG)
    {
      __set_errno (EINVAL);
      return -1;
    }

  __set_errno (ENOSYS);
  return -1;
}