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

blanktime Subroutine


Sets the screen-blanking timeout.


Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void blanktime(Int32 nframe)


INTEGER*4 nframe


The blanktime subroutine changes the amount of time the system waits before it blanks the screen to protect the color display. The default delay before the screen turns black is 15 minutes after the last input. This subroutine can also disable the screen-blanking feature.

To calculate the value of the nframe parameter, multiply the desired blanking delay period (in seconds) by 60. For example, when nframe is 18000, the blanking delay period is 5 minutes. If there are 60 frames per second, nframe is 60 times the number of seconds that the system waits before blanking the screen. To disable screen blanking, use 0 (zero) as the value for nframe.

  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.


nframe Specifies the number of frames after which to blank the screen. This subroutine assumes 60 frames per second.

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

Turning screen refresh off or on with the blankscreen subroutine.

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

[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]