Logo Search packages:      
Sourcecode: hamlib version File versions

const char* HAMLIB_API rigerror ( int  errnum  ) 

get string describing the error code

Parameters:
errnum The error code
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 219 of file rig.c.

{
      errnum = abs(errnum);
      if (errnum > ERROR_TBL_SZ)
            return NULL;
      return rigerror_table[errnum];
}


Generated by  Doxygen 1.6.0   Back to index