table of contents
other versions
- wheezy 0.7.3-6
- jessie 0.7.3-6+b2
- testing 0.9.4-1
- unstable 0.9.4-1
- experimental 0.10.0-1
gd_dirfilename(3) | GETDATA | gd_dirfilename(3) |
NAME¶
gd_dirfilename — retrieve the name of a dirfileSYNOPSIS¶
#include <getdata.h>const char
*gd_dirfilename(const DIRFILE *dirfile);
DESCRIPTION¶
The gd_dirfilename() function queries a dirfile(5) database specified by dirfile and returns its name. The name of a dirfile is the pathname passed to gd_cbopen() or gd_open() when the dirfile was opened.RETURN VALUE¶
Upon successful completion, gd_dirfilename() returns a pointer to a constant string containing the pathname of the dirfile. On error, gd_dirfilename() returns NULL and sets the dirfile error to a non-zero value. Possible error values are:- GD_E_BAD_DIRFILE
- The supplied dirfile was invalid.
SEE ALSO¶
gd_cbopen(3)25 May 2010 | Version 0.7.0 |