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/widget_ref/pt/ptterminalput.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/widget_ref/pt/ptterminalput.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/widget_ref/pt/ptterminalput.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/widget_ref/pt/ptterminalput.html on line 8

PtTerminalPut(), PtTerminalPutc(), PtTerminalPuts()

Output text to the terminal

Synopsis:

int PtTerminalPut(  PtWidget_t *widget, 
                    const char *buffer, 
                    size_t nchars );

int PtTerminalPutc( PtWidget_t *widget, 
                    char character );

int PtTerminalPuts( PtWidget_t *widget, 
                    const char *string );

Description:

These functions output characters to the terminal widget.

Returns:

0
Success.
-1
An error occurred (errno is set).

Errors:

EINVAL
The widget isn't a terminal widget.
EBUSY
Invalid recursion.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtTerminal


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/widget_ref/pt/ptterminalput.html on line 109

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/widget_ref/pt/ptterminalput.html on line 109