Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtTerminalSelectWord()
Select a word
Synopsis:
int PtTerminalSelectWord(
PtWidget_t *widget,
PtTerminalRowCol_t const *pos );
Description:
This function selects a word containing the character at the specified position (or at the cursor position if pos is NULL).
The PtTerminalRowCol_t structure contains the following members:
- short r
- short c
Returns:
- 1
- Done.
- 0
- There's no word at the specified position (neither the character at the specified position nor the character to the left is a letter, digit or underscore).
- -1
- The pos argument is invalid (i.e. beyond the screen size).
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)