qread(3G)
qread - reads the first entry in the event queue
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME qread - reads the first entry in the event queue FORTRAN 77 SPECIFICATION integer*4 function qread(data) integer*2 data PARAMETERS data expects the variable that is to receive the data the event queue. FUNCTION RETURN VALUE The returned function value is the identifier for the device read. DESCRIPTION When there is an entry in the queue, qread returns the device number of the queue entry, writes the data of the entry into data, and removes the entry from the queue. If there is not an entry in the queue, qread will block and return when an entry is made. SEE ALSO qreset, qtest NOTE This routine is available only in immediate mode.