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

qreset Subroutine

Purpose

Empties the event queue.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void qreset( )

FORTRAN Syntax

SUBROUTINE QRESET

Description

The qreset subroutine removes all entries from the event queue and discards them.

Note: This subroutine cannot be used to add to a display list.

Example

The example C language program scrn_rotate.c uses the qreset subroutine to delete all input events from any devices.

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.
/usr/include/gl/device.h Contains C language constant and variable type definitions for GL.
/usr/include/gl/fdevice.h Contains FORTRAN constant and variable type definitions for GL.

Related Information

Creating an event queue entry with the qenter subroutine.

Reading the first entry in the event queue with the qread subroutine.

Check the content of the event queue with the qtest subroutine.

AIX Graphics Library Overview and Controlling Queues and Devices.


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