qread() — 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
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.4 — May 08, 1986