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
Close a configuration file
#include <photon/PxProto.h>
int PxConfigClose( void );
int PxConfigCloseCx(PxCfgContext_t *cx);
- cx
- PxConfigCloseCx() only. The configuration file handle for the file you want to close. This handle is returned by PxConfigOpenCx().
phexlib
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.
- 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.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
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