Previous Topic Next topic Print topic


Lcatch

Use

Lists Catch settings for a given signal.

Command Syntax

LCATCH [/ALL | signal]

where:

signal
Can be either a signal name mnemonic (such as SIGALRM, SIGINT, and so on) or the signal number corresponding to that signal. Signal names may be specified in either uppercase or lowercase letters. If neither a signal name nor /ALL command is specified, all of the signals currently set to be caught are displayed

Description

The LCATCH command with no arguments lists all of the signals that are currently set to be caught. When used with the /ALL option, LCATCH lists two sets of signals, those that are currently set to be caught and those that are currently set to not be caught. The LCATCH command, with a signal name specified, lists Catch settings for that given signal.

Example

In the following example, the current Catch settings for the signal SIGALRM are listed.

CodeWatch> LCATCH SIGALRM 
SIGALRM not being caught.

In this example, the signals currently set to be caught and those that are set not to be caught are listed.

CodeWatch> LCATCH /ALL 

CATCHing signals:

SIGINT SIGQUIT SIGILL SIGTRAP SIGIOT SIGEMT SIGFPE 
SIGKILL SIGBUS SIGSEGV SIGSYS SIGPIPE SIGTERM SIGURG 
SIGSTOP SIGTTIN SIGTTOU SIGIO SIGXCPU SICXFSZ SIGPROF 
SIGVTALRM

Not CATCHing signals:
SIGHUP SIGALRM SIGTSTP SIGCONT SIGCHLD SIGWINCH SIGLOST 
SIGUSR2
Previous Topic Next topic Print topic