common/safe_strsig.h File Reference

Go to the source code of this file.

Functions

const char * safe_strsignal (int sig)


Function Documentation

const char* safe_strsignal ( int  sig  ) 

The safe_strsignal() function returns a string describing the signal number passed in the argument sig. The string can only be used until the next call to safe_strsignal().

Parameters:
sig The number of the signal
Returns:
The safe_strsignal() function returns the appropriate description string, or an unknown signal message if the signal number is invalid.
Note:
On some systems, a NULL pointer may be returned by strsignal for an invalid signal number. This wrapper function cataches those cases.


Generated on Wed Mar 12 23:37:36 2008 for Aegis by  doxygen 1.5.5