getscreenhandle

Retrieves the application screen ID.

Library:LibC
Classification:Novell
Service:Screen Support

Syntax

  #include <screen.h> 
   
  scr_t getscreenhandle ( void );
  

Return Values

If successful, returns the screen ID of the current screen. Otherwise, returns NULL and sets errno to the following:

Decimal

Constant

Description

105

ENOCONTEXT

No thread context is present.

Remarks

The screen ID can be used to send output to the screen with the OutputToScreen function.

See Also

getconsolehandle