#include <cfg.h> int cfg_close( CFG *cfgp );
A successful call to cfg_close()
returns a value of zero
and an unsuccessful call returns the errno
.
cfgp
argument does not refer to an open configuration space
traversal stream.
The cfg_close()
function closes a configuration space transversal
stream represented by the CFG structure pointed at by the cfgp
argument. All system resources allocated for this configuration space
traversal stream should be deallocated. Upon return, the value of
cfgp
need not point to an accessible object of type CFG.
The _POSIX_CFG
feature flag is defined to indicate
this service is available.
Copyright © 1988-2004 OAR Corporation