TE_set_cursor_pos

Example: TE_set_cursor_posCursor 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.