qread(3G) — Silicon Graphics
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
When there is an entry in the queue, qread returns the device number of queue entry, writes the data of the entry into data, and removes the entry from the queue.
SEE ALSO
qreset, qtest Programming Guide, Section 7.4, The Event Queue
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987