The delscreen routine is used to free space associated with the SCREEN data structure.
Syntax | 
  | 
   #include <curses.h>
   int delscreen(SCREEN *sp);
  | 
Parameters | 
  | 
- sp
 A pointer to the screen structure for which to
free space.
Return Values | 
  | 
- OK
    Successful completion.
- ERR
   An error occurred.
Description | 
  | 
The delscreen() routine frees space associated with the SCREEN data structure.  This routine should be called after endwin() if a SCREEN data structure is no longer needed.
Implementation Considerations | 
  | 
UNIX System V implementation
See Also | 
  | 
endwin(), initscr(), newterm()
Portability | 
  | 
UNIX System V