Digital UNIX Diffs - sigaction(5) Digital UNIX Diffs - sigaction(5)NAME
sigaction, sigset, sigignore, sigvec, signal - Set disposition or
action for a software interrupt
SYNOPSIS
#include <signal.h> int sigaction (
int sig,
const struct sigaction *action,
struct sigaction *o_action); void (*sigset (
int sig,
void (*function) (int))) (int); int sigignore (
int sig); int sigvec (
int sig,
struct sigvec *in_vec,
struct sigvec *out_vec ); void (*signal (
int sig,
void (*function) (int))) (int);
PARAMETERS
Specifies the signal number. Specifies the address of a signal handler
function. Specifies the action to be taken when the specified signal
is delivered, the mask to be used when calling the signal handler, and
the flags that modify signal behavior. Set to the previous signal
action state on successful return from the sigvec() function.
Describes the action to be taken upon receipt of the signal. Set to
the previous action attached to the specified signal.
DIFFERENCESsignal-mech(5): System V vs BSD Signal Handling Differences
Signal handler installation functions such as signal(2), sigset(3), and
sigvec(2) are historically system dependent. These dependencies are
defined in the command's corresponding man pages in sections 2 and 3 of
the manual.
Although Digital UNIX provides special libraries to invoke either BSD
or System V behavior, it is suggested that code written to use BSD or
System V specific signal handler installation functions be converted to
use the POSIX standard function sigaction(2).
RELATED INFORMATION
Functions: signal(2), sigvec(2), sigaction(2), sigset(3), sigigā
nore(3), sigprocmask(2), sigpending(2), sigsuspend(2)CATEGORY INDEXsignal-mech(5)
delim off
Digital UNIX Diffs - sigaction(5)