get string describing the error code
- Parameters:
-
- Returns:
- the appropriate description string, ortherwise a NULL pointer if the error code is unknown.
Returns a string describing the error code passed in the argument
errnum.
- Todo:
- support gettext/localization
Definition at line 215 of file rig.c.
{
errnum = abs(errnum);
if (errnum > ERROR_TBL_SZ)
return NULL;
return rigerror_table[errnum];
}