Operating systems, development tools, and professional
services for connected embedded systems
Home
Developer Resources

QNX Community Resources

PDF Documents
More resources
PxTerminalSaveCharsets
[Previous] [Contents] [Index] [Next]

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


[Previous] [Contents] [Index] [Next]
 
©2013 QNX Software Systems Limited, a subsidiary of BlackBerry.   BlackBerry Logo