Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gsclrs(3g) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought



GSCLRS(3g,L)                AIX Technical Reference                GSCLRS(3g,L)



-------------------------------------------------------------------------------
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 attributes are:

  o Color map.
  o Plane mask.

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.













Processed November 7, 1990       GSCLRS(3g,L)                                 1



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