HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

delwin

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The delwin routine is used to delete a window.

Syntax

   #include <curses.h>



   int delwin(WINDOW *win);

Parameters

win

A pointer to the window that is to be deleted.

Return Values

OK

Successful completion.

ERR

An error occurred.

Description

The delwin() routine deletes the specified window, freeing up the memory associated with it.

NOTE: If you delete a parent window without deleting its subwindows and then try to manipulate the subwindows, you may encounter odd results.

Implementation Considerations

Identical to XPG/3

See Also

newwin(), subwin(), derwin()

Portability

HP-UX, UNIX System V, XPG/3

Feedback to webmaster