![]() |
![]() |
![]() |
![]() |
Write a character parameter in a configuration file
#include <photon/PxProto.h>
int PxConfigWriteChar( const char *section,
const char *entry,
int format,
char value);
int PxConfigWriteCharCx( PxCfgContext_t *cx,
const char *section,
const char *entry,
int format,
char value);
phexlib
These functions write a character parameter in the specified section and entry of a configuration file.
![]() |
|
PxConfigWriteChar() writes to the currently open configuration file opened by PxConfigOpen(), while PxConfigWriteCharCx() writes to the configuration file indicated by cx.
Pt_TRUE if the entry is written, otherwise Pt_FALSE
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PxConfigOpen*(), PxConfigReadBool*(), PxConfigReadChar*(), PxConfigReadDouble*(), PxConfigReadInt*(), PxConfigReadLLong*(), PxConfigReadLong*(), PxConfigReadShort*(), PxConfigReadString*(), PxConfigWriteBool*(), PxConfigWriteDouble*(), PxConfigWriteInt*(), PxConfigWriteLong*(), PxConfigWriteLLong*(), PxConfigWriteShort*(), PxConfigWriteString*()
![]() |
![]() |
![]() |
![]() |