1get_error(3) GETDATA get_error(3)
2
3
4
6 get_error — report a getdata library error
7
9 #include <getdata.h>
10
11 int get_error(const DIRFILE *dirfile);
12
14 The get_error() function returns the numeric dirfile error associated
15 with the dirfile dirfile which is set by many GetData library func‐
16 tions.
17
18 The dirfile argument should point to a DIRFILE object previously creat‐
19 ed by a call to dirfile_open(3).
20
21 A textual description of the error may be obtained by calling get_er‐
22 ror_string(3).
23
24
26 The get_error() function always returns the dirfile error corresponding
27 to the error state of the last library call on the supplied DIRFILE ob‐
28 ject.
29
31 dirfile_open(3), get_error_string(3)
32
33
34
35Version 0.5.0 8 December 2008 get_error(3)