qread(3G) qread(3G)
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
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
Programming Guide, Section 7.4, The Event Queue
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)