#include <cfg.h> int cfg_get( const char *cfgpath cfg_value_t *value );
A successful call to cfg_get()
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_get()
function stores the value attribute of the
configuration node identified by cfgpath
, into the buffer
described by the value
pointer.
The _POSIX_CFG
feature flag is defined to indicate
this service is available.
Copyright © 1988-2004 OAR Corporation