RAD Studio
ContentsIndex
PreviousUpNext
signal.h

The following functions, macros, and classes are provided in signal.h:

Name 
Description 
Header File
signal.h
Description
Signal types used by raise and signal.  
Header File
signal.h
Description
Predefined functions for handling signals generated by raise or by external events.  
Header File
signal.h
Category
Process Control Routines
Prototype
int raise(int sig);
Description
Sends a software signal to the executing program.
raise sends a signal of type sig to the program. If the program has installed a signal handler for the signal type specified by sig, that handler will be executed. If no handler has been installed, the default action for that signal type will be taken.
The signal types currently defined in signal.h are noted here:  
Header File
signal.h
Category
Process Control Routines
Prototype
void (_USERENTRY *signal(int sig, void (_USERENTRY *func)(int sig[, int subcode])))(int);
Description
Specifies signal-handling actions.
signal determines how receipt of signal number sig will subsequently be treated. You can install a user-specified handler routine (specified by the argument func) or use one of the two predefined handlers, SIG_DFL and SIG_IGN, in signal.h. The function func must be declared with the _USERENTRY calling convention.
A routine that catches a signal (such as a floating point) also clears the signal. To continue to receive signals, a signal handler must be reinstalled by calling signal again.... more 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!