#include <cfg.h> int cfg_unmount( const char *cfgpath );
A successful call to cfg_umount()
returns a value of zero
and an unsuccessful call returns the errno
.
cfgpath
does not exist.
NAME_MAX
characters,
or an entire path name exceed PATH_MAX
characters while
_POSIX_NO_TRUNC
is in effect.
cfgpath
argument
SYMLOOP_MAX
symbolic links were encountered during
resolution of the cfgpath argument
The cfg_umount()
function unmaps the configuration space whose
distinguished node is mapped in the active space at the location defined
by cfgpath
configuration pathname. All system resources
allocated for this configuration space should be deallocated.
The _POSIX_CFG
feature flag is defined to indicate
this service is available.
Copyright © 1988-2004 OAR Corporation