Chapter Contents

Previous

Next
Signal-Handling Functions

Supported Signals

The signals supported by Release 6.00 can be divided into three groups: signals managed only by SAS/C, signals managed exclusively by USS, and signals with dual support. For dual-support signals, you can define during program startup which signals are to be handled by USS and which are to be handled by the SAS/C library.

Signals managed exclusively by SAS/C are
SIGASY1-8 application-defined asynchronous signals
SIGFPDIV floating-point division by 0
SIGFPOFL floating-point overflow
SIGFPUFL floating-point underflow
SIGIDIV integer division by 0
SIGIUCV VM inter-user communication signal
SIGMEM no memory available for stack space
SIGUSR3-8 application-defined synchronous signals.

Signals managed exclusively by USS are
SIGCHLD child process stopped
SIGCONT continue process if stopped
SIGHUP controlling terminal hangup
SIGKILL process terminated (cannot be blocked)
SIGPIPE write to a pipe that is not open for reading
SIGQUIT interactively terminate process
SIGSTOP process stopped (cannot be blocked)
SIGTRAP debugging signal
SIGTSTP interactively stop process
SIGTTIN background process read from controlling terminal
SIGTTOU background process write to controlling terminal.

Signals managed either by SAS/C or USS are
SIGABND system ABEND
SIGABRT abort function called
SIGALRM real-time expiration signal
SIGFPE general computational error
SIGILL illegal instruction executed
SIGINT interactive terminal attention signal
SIGIO undefined
SIGSEGV illegal memory access
SIGTERM termination request
SIGUSR1-2 application-defined synchronous signals.

Each signal that may be managed by SAS/C is described in detail later in this section. See the POSIX.1 standard or The POSIX.1 Standard: A Programmer's Guide (Zlotnick 1991), for information on the signals defined by POSIX and managed by USS. All signals that can be used with the library have assigned numbers in the header file <signal.h> . Always refer to signals by their names, not their numbers, because signal numbers are not portable.

Note:    The library permits you to raise the signals SIGIO and SIGTERM , but at the present it does not assign a meaning to these signals.  [cautionend]


Chapter Contents

Previous

Next

Top of Page

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