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.5 — April 22, 1987