Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/px/pxconfigclose.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/px/pxconfigclose.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/px/pxconfigclose.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/px/pxconfigclose.html on line 8

PxConfigClose(), PxConfigCloseCx()

Close a configuration file

Synopsis:

#include <photon/PxProto.h>

int PxConfigClose( void );

int PxConfigCloseCx(PxCfgContext_t *cx);

Arguments:

cx
PxConfigCloseCx() only. The configuration file handle for the file you want to close. This handle is returned by PxConfigOpenCx().

Library:

phexlib

Description:

These functions close a configuration file, and release all the resources associated with that file.

PxConfigClose() closes the currently opened configuration file (opened using PxConfigOpen()). It doesn't do anything and returns Pt_FALSE if there's no currently opened configuration file.

PxConfigCloseCx() closes the configuration file indicated by cx (opened using PxConfigOpenCx()). It doesn't do anything and returns Pt_FALSE if cx is NULL.

Returns:

Pt_TRUE
The file was opened and is now closed.
Pt_FALSE
No file was open, cx was NULL, or there was an error updating the file to reflect the new configuration.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PxConfigOpen*()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/px/pxconfigclose.html on line 119

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/px/pxconfigclose.html on line 119