![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Delete a section from a configuration file
#include <photon/PxProto.h>
int PxConfigDeleteSection( const char *section);
int PxConfigDeleteSectionCx( PxCfgContext_t *cx,
const char *section);
phexlib
These functions delete the section section from the configuration file.
![]() |
The file must have been opened for PXCONFIG_WRITE -- see PxConfigOpen*(). |
PxConfigDeleteSection() deletes a section from the currently open configuration file opened by PxConfigOpen(), while PxConfigDeleteSectionCx() deletes a section from the configuration file indicated by cx.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PxConfigDeleteEntry*(), PxConfigForceEmptySection*(), PxConfigOpen*()
![]() |
![]() |
![]() |
![]() |