Returns the line position of the cursor on the application screen.
#include <screen.h> int whererow ( void );
If successful, returns the position of the cursor by specifying the row number. Otherwise, returns -1 and sets errno to one of the following: