![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Write an integer parameter in a configuration file
#include <photon/PxProto.h>
int PxConfigWriteDouble( const char *section,
                         const char *entry,
                         int format,
                         int value );
int PxConfigWriteDoubleCx( PxCfgContext_t *cx,
                           const char *section,
                           const char *entry,
                           int format,
                           int value );
phexlib
These functions write a double-precision float parameter in the specified section and entry of the configuration file.
![]()  | 
  | 
PxConfigWriteDouble() writes to the currently open configuration file opened by PxConfigOpen(), while PxConfigWriteDoubleCx() 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*(), PxConfigWriteChar*(), PxConfigWriteInt*(), PxConfigWriteLLong*(), PxConfigWriteLong*(), PxConfigWriteShort*(), PxConfigWriteString*()
![]()  | 
![]()  | 
![]()  | 
![]()  |