renamescreen

Renames the application screen as long as the application screen is not identical to the System Console or System Logger screen.

Library:LibC
Classification:Novell
Service:Screen Support

Syntax

  #include <screen.h> 
   
  int renamescreen (
     const char   *name);
  

Parameters

name

(IN) Points to the new name for the screen.

Return Values

If successful, returns 0. 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.

Remarks

The application screen name is the name seen when the screen is active and you hold down the Alt key.