#include <cfg.h> int cfg_set( const char *cfgpath cfg_value_t *value );
A successful call to cfg_set()
returns a value of zero
and an unsuccessful call returns the errno
.
NAME_MAX
characters,
or an entire path name exceed PATH_MAX
characters while
_POSIX_NO_TRUNC
is in effect.
cfgpath
does not exist
cfgpath
argument.
SYMLOOP_MAX
symbolic links were encountered during
resolution of the cfgpath argument.
The cfg_set()
function stores the value specified by the
value
argument in the configuration node defined by the
cfgpath
argument.
The _POSIX_CFG
feature flag is defined to indicate
this service is available.
Copyright © 1988-2004 OAR Corporation