get_nmfields (3) Linux Manual Page
NAME get_nmfields — report the number of metafields in a dirfile SYNOPSIS #include <getdata.h> unsigned int get_nmfields(DIRFILE *dirfile, const char *parent); DESCRIPTION The get_nmfields() function queries a dirfile(5) database specified by dirfile and returns the number of metafields defined in the database for the parent field specified by parent. The dirfile argument must point to…
