qread(3) — Unix Programmer’s Manual
NAME
qread - read the first entry in the event queue
SYNOPSIS
C
Device qread(data)
short ∗data;
FORTRAN
integer∗2 function qread(data)
integer∗2 data
Pascal
function qread(var data: Short): Device;
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 only be used in immediate mode.
Silicon Graphics — R1c