Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/px/pxterminalsavecharsets.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/px/pxterminalsavecharsets.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/px/pxterminalsavecharsets.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/px/pxterminalsavecharsets.html on line 8

PxTerminalSaveCharsets()

Save character-set information in a file

Synopsis:

#include <photon/PxTerminal.h>

int PxTerminalSaveCharsets(
        PtTerminalCharsets_t *charsets,
        PxTerminalCsNames_t *names,
        const char *filename );

Library:

phexlib

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


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/px/pxterminalsavecharsets.html on line 111

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/px/pxterminalsavecharsets.html on line 111