RenameScreen

Returns the name of the screen.

Library:LibC
Classification:NetWare OS
Service:Screen Support

Syntax

  #include <screen.h> 
   
  int RenameScreen (
     scr_t         scrID,
     const char   *name);
  

Parameters

scrID

(IN) Specifies the screen.

name

(IN) Points to the buffer that contains the new name for the screen.

Return Values

If successful, returns 0. Otherwise, returns one of the following error codes:

Decimal

Constant

Description

5

ENOMEM

No memory is available for the new name.

23

ENO_SCRNS

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

See Also