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/pxterminalloadcharsets.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/pxterminalloadcharsets.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/pxterminalloadcharsets.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/pxterminalloadcharsets.html on line 8

PxTerminalLoadCharsets()

Load character-set information from a file

Synopsis:

#include <photon/PxTerminal.h>

PtTerminalCharsets_t *PxTerminalLoadCharsets(
        const char *filename,
        PxTerminalCsNames_t *names );

Library:

phexlib

Description:

PxTerminalLoadCharsets() loads character-set information from the given file. The names argument, if not NULL, points to a structure that the names of the character sets will be stored in.

This function puts the resulting structure and all the tables and strings in a single allocated block of memory. After it's no longer needed, you can simply free() it. Note that this invalidates the strings stored in *names.

Returns:

A pointer to a PtTerminalCharsets_t structure ready for use with a PtTerminal widget.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PxTerminalBuildCharsets(), PxTerminalSaveCharsets()

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/pxterminalloadcharsets.html on line 107

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/pxterminalloadcharsets.html on line 107