wherecol

Returns the column position of the cursor on the application screen.

Library:LibC
Classification:Novell
Service:Screen Support

Syntax

  #include <screen.h> 
   
  int wherecol ( void );
  

Return Values

If successful, returns the position of the cursor by specifying the column number. Otherwise, returns -1 and sets errno to one of the following:

Decimal

Constant

Description

23

ENO_SCRNS

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

105

ENOCONTEXT

No thread context is present.

See Also