cfp_init(3) manual page
Table of Contents
cfp_init - initialize parse routines on supplied file name
#include <cfht/cfht.h>#include <cfht/cfp.h>FILE_ID cfp_init(name)char *name;
libcfht.a
Name
is the path name of the configuration file. This routine must be run before
any other routine in this package.
The return value is an id
handle to be passed to other routines in this package. However, if an error
occurs, cfp_init will return FAIL.
Possible errors for cfp_init:
- [ENOSPC]
- Too many configuration files already open.
- [E2BIG]
- Name is too long.
- [ENODEV]
- Name is a NULL pointer.
- [ENOTTY]
- corrupt file.
cfp(4)
.
Table of Contents