gd_error
report a GetData library error
- Provided by: libgetdata-dev (Version: 0.7.3-6ubuntu1)
- Source: libgetdata
- Report a bug
report a GetData library error
#include <getdata.h>
int gd_error(const DIRFILE *dirfile);
The gd_error() function returns the numeric dirfile error associated with the dirfile dirfile which is set by many GetData library functions.
The dirfile argument should point to a DIRFILE object previously created by a call to gd_open(3).
A textual description of the error may be obtained by calling gd_error_string(3).
The gd_error() function always returns the dirfile error corresponding to the error state of the last library call on the supplied DIRFILE object.