Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
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:
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)