Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ qread(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

qread()  —  Silicon Graphics

NAME

qread − reads the first entry in the event queue

SPECIFICATION

C
long qread(val)
short *val;

FORTRAN
integer*4 function qread(val)
integer*2 val

Pascal
function qread(var val: Short): longint;

DESCRIPTION

When there is an entry in the queue, qread returns the device number of queue entry, writes the data of the entry into val, and removes the entry from the queue. 

SEE ALSO

qtest, qreset IRIS Graphics Programming, Section 7.3, The Event Queue

NOTE

This routine is available only in immediate mode. 

Version 2.5r1  —  October 29, 1986

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