Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ qread(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

qread()  —  Silicon Graphics Beta Release

NAME

qread - reads the first entry in the event queue

SPECIFICATION

C
long qread(data)
short *data;

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

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

DESCRIPTION

qread waits until there is an entry in the queue.  It returns the device number of a queue entry, writes the data part of the entry into data, and removes the entry from the queue. 

SEE ALSO

qtest, qreset

NOTE

This command can be used only in immediate mode. 

Version 2.3  —  July 04, 1985

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