Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gsclrs(3) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

gsclrs

Purpose

     Clears the screen, filling it with the background color.

C Syntax

     int gsclrs_ ( )

FORTRAN Syntax

     INTEGER function gsclrs

Pascal Syntax

     FUNCTION gsclrs_: INTEGER [PUBLIC|;

Description

     The  gsclrs subroutine  fills the  frame buffer  with the
     background color (color index zero).

     The relevant attribute is:

     o   Color map.

     For  printers,  the   gsclrs  subroutine  forces  pending
     graphics to be printed, advances the paper to a new page,
     and purges the print buffer.

     For  plotters,  the   gsclrs  subroutine  forces  pending
     graphics  to be  displayed, and  issues a  prompt to  the
     active  screen (console)  requesting  that  the paper  be
     changed.

Return Value

     GS_SUCC   Successful.
     GS_INAC   Virtual terminal inactive.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026