Delete a section from a configuration file
#include <photon/PxProto.h> int PxConfigDeleteSection( const char *section);
This function deletes the section section from the configuration file.
The file must have been opened for PXCONFIG_WRITE-see PxConfigOpen(). |
All entries within the section (up to either the beginning of the next [] section or end-of-file) are deleted. The internal current section is cleared.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PxConfigDeleteEntry(), PxConfigForceEmptySection(), PxConfigOpen()