[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 2

erase or werase Subroutine

Purpose

Copies blank spaces to every position in a window.

Library

Curses Library (libcurses.a)

Syntax

#include <curses.h>
erase( )
werase(Window)
WINDOW *Window;

Description

The erase and werase subroutines copy blank spaces to every position in the specified window. Use the erase subroutine with the stdscr and the werase subroutine with user-defined windows.

Parameters

Window Specifies the window to erase.

Examples

  1. To erase the standard screen structure, enter:
    erase();
  2. To erase the user-defined window my_window , enter:
    WINDOW *my_window;
    werase(my_window);

Implementation Specifics

These subroutines are part of Base Operating System (BOS) Runtime.

Related Information

Curses Overview for Programming in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.

List of Curses Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.

Manipulating Characters with Curses in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.


[ Previous | Next | Contents | Glossary | Home | Search ]