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

setbell Subroutine

Purpose

Sets the duration of the keyboard bell sound.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void setbell(Char8 durat)

FORTRAN Syntax

SUBROUTINE SETBEL(durat)
CHARACTER*1 durat

Description

The setbell subroutine sets the duration of the keyboard bell sound. The keyboard bell is activated by the ringbell subroutine. Settings for the durat parameter are as follows:

Value Meaning
0 Off
1 Short beep
2 Long beep
Note: This subroutine cannot be used to add to a display list.

Parameter

durat Specifies the duration of the keyboard bell.

Example

The example C language program ovrlay.c uses the setbell subroutine to set the duration of the bell sound for a short beep.

Implementation Specifics

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

Files

/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 off the keyboard click with the clkoff subroutine.

Turning on the keyboard click with the clkon subroutine.

Turning on the keyboard display lights with the lampon subroutine.

Ringing the keyboard bell with the ringbell subroutine.

AIX Graphics Library Overview and Using the Keyboard.


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