gotorowcol

Positions the cursor on the specified row and column of the application screen.

Library:LibC
Classification:Novell
Service:Screen Support

Syntax

  #include <screen.h> 
   
  int gotorowcol (
     int   row,
     int   col);
  

Parameters

row

(IN) Specifies the vertical position by specifying the row number.

col

(IN) Specifies the horizontal position by specifying the column number.

Return Values

If successful, returns 0. Otherwise, returns -1 and sets errno to one of the following:

Decimal

Constant

Description

9

EINVAL

The row parameter, col parameter, or both are invalid.

23

ENO_SCRNS

Screen I/O is being attempted when no screen is available.

105

ENOCONTEXT

No thread context is present.