[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

blankscreen Subroutine


Turns screen refresh on and off.


Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void blankscreen(Int32 bool)




The blankscreen subroutine turns screen refresh on and off. Normally, the screen is refreshed 60 times a second. If the screen is not regularly refreshed, it goes blank. The screen refresh is turned on or off immediately upon invocation of this subroutine.

The action of this subroutine is not affected by the blanktime subroutine. The blankscreen subroutine affects the entire screen, not just an individual window.

  1. This subroutine cannot be used to add to a display list.
  2. This call is intended for use by a window manager. If a window manager is already running, it is possible that this call will be overridden by the window manager.


bool Specifies a value for the screen display. The settings for the bool parameter are:
True = Display stops and screen turns black immediately.
False = Display is restored.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.


/usr/include/gl/gl.h Contains C language constant and variable type definitions for GL.
/usr/include/gl/fgl.h Contains FORTRAN constant and variable type definitions for GL.

Related Information

Setting the screen-blanking time out with the blanktime subroutine.

Creating and Windows, Understanding the Hardware Used by GL, Understanding Understanding Windows and Input Control.

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