RTEMS Logo

RTEMS 4.10.2 On-Line Library


Signal Manager sigaction - Examine and Change Signal Action

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

2.4.6: sigaction - Examine and Change Signal Action

CALLING SEQUENCE:

#include <signal.h>

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

STATUS CODES:

EINVAL
Invalid argument passed.
ENOTSUP
Realtime Signals Extension option not supported.

DESCRIPTION:

This function is used to change the action taken by a process on receipt of the specfic signal sig. The new action is specified by act and the previous action is returned via oact.

NOTES:

The signal number cannot be SIGKILL.


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2008 OAR Corporation