Logo Search packages:      
Sourcecode: hamlib version File versions  Download package

const char* HAMLIB_API rigerror ( int  errnum )

get string describing the error code

Parameters:
errnumThe error code
Returns:
the appropriate description string, otherwise 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 229 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