Terminal Emulator - RTE Vuser Functions (TE) > Alphabetical List of Functions > TE_set_cursor_pos

TE_set_cursor_pos

Example: TE_set_cursor_pos Cursor Functions

Sets the position of the cursor on the terminal screen.

int TE_set_cursor_pos( int col, int row );

Inputs

col The column in which to position the cursor.
row The row in which to position the cursor.

TE_set_cursor_pos sets the cursor position to col, row.

Return Values

This function returns 0 if it succeeds, and a negative error code if it fails. It also sets the global variable TE_errno.

Parameterization

You cannot use standard parameterization for any arguments in this function.