#include <cfg.h> int cfg_mknod( const char *cfgpath, mode_t mode, cfg_type_t type );
A successful call to cfg_mknod()
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.
mode
is invalid.
type
is invalid.
cfg_path
argument
SYMLOOP_MAX
symbolic links were encountered during
resolution of the cfgpath
argument.
node
resides on a read-only configuration space.
The cfg_mknod()
function creates a new node in the configuration
space which contains the pathname prefix of cfgpath
. The node
name is defined by the pathname suffix of cfgpath
. The node
permissions are specified by the value of mode
. The node type
is specified by the value of type
.
The _POSIX_CFG
feature flag is defined to indicate
this service is available.
Copyright © 1988-2004 OAR Corporation