Chapter Contents

Previous

Next
Function Categories

Signal-Handling Functions

The signal-handling feature of the SAS/C library is a collection of library functions that enables you to handle unexpected conditions and interrupts during execution of a C program. These functions are described in detail in Signal-Handling Functions. Using this facility, you can

The signal-handling functions are
alarm, alarmd request a signal after a real-time interval
ecbpause delay program execution until the occurrence of a C signal or the POSTing of an Event Control Block (obsolete function)
ecbsuspend delay program execution until the occurrence of a C signal or the POSTing of an Event Control Block
kill send a signal to a process
oesigsetup define which signals are managed by the SAS/C library and which signals are managed by USS
pause suspend execution until a signal is received
raise generate an artificial signal
sigaction define a signal handler
sigaddset sigdelset sigemptyset sigfillset sigismember manipulate sigset_t objects
sigblock inhibit discovery of asynchronous signals (obsolete function)
sigchk check for asynchronous signals
siggen generate an artificial signal with additional information
siginfo obtain information about a signal
siglongjmp restore a previously saved stack environment and signal mask
signal define program signal handling
sigpause suspend execution and block discovery of signals (obsolete function)
sigpending determine pending signals for a process
sigprocmask inhibit or permit discovery of signals
sigsetjmp saves the current stack environment and signal mask
sigsetmask inhibit or permit discovery of signals (obsolete function)
sigsuspend suspend program execution until a signal is generated
sleep, sleepd suspend execution for a period of time.


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.