gd_error(3) GETDATA gd_error(3)NAMEgd_error — report a GetData library error
SYNOPSIS
#include <getdata.h>
int gd_error(const DIRFILE *dirfile);
DESCRIPTION
The gd_error() function returns the numeric dirfile error associated
with the dirfile dirfile which is set by many GetData library func‐
tions.
A textual description of the error may be obtained by calling gd_er‐
ror_string(3).
RETURN VALUE
The gd_error() function always returns the dirfile error corresponding
to the error state of the last library call on the supplied DIRFILE ob‐
ject.
SEE ALSOgd_error_count(3), gd_error_string(3)Version 0.8.0 20 April 2011 gd_error(3)