cfp_putcur(3) manual page
Table of Contents
cfp_putcur - replace the current value of the item being parsed
#include <cfht/cfht.h>#include <cfht/cfp.h>PASSFAIL cfp_putcur(id, name, addr,
type)FILE_ID id;char *name;char *addr;int type;
libcfht.a
Id is
the previously acquired handle for the configuration file. Name is a string
to match in the configuration file for item identification. Addr is a pointer
to the new item value. Type specifies both the type of pointer really passed
in and the conversion that should be done on the value. Valid types are:
CFP_BOOLEAN
CFP_INTEGER
CFP_DOUBLE
CFP_STRING
fi
Note: CFP_BOOLEAN is really an integer, but ’C’ trueness
will be tested.
Return ValueThe return value will be PASS or FAIL. Errors[ENOTTY]Invalid
handle. [EIO]Something failed for an unknown reason. See Alsocfp(4). Warnings