QNX Community Resources
PxTerminalSaveCharsets()
Save character-set information in a file
Synopsis:
#include <photon/PxTerminal.h>
int PxTerminalSaveCharsets(
PtTerminalCharsets_t *charsets,
PxTerminalCsNames_t *names,
const char *filename );
Description:
This function saves the character-set information in the given file. It's your responsibility to make sure that the information in *charsets is consistent with the information in *names - generating both with the same call to PxTerminalBuildCharsets() is a good way to ensure consistency.
Returns:
- 0
- Success.
- -1
- An error occurred (errno is set).
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PxTerminalBuildCharsets(), PxTerminalLoadCharsets()
PtTerminal, PtTerminalCharsets_t in the Photon Widget Reference

