qtest(3G) — Silicon Graphics
NAME
qtest − checks the contents of the event queue
SPECIFICATION
C
long qtest()
FORTRAN
integer*4 function qtest()
Pascal
function qtest: longint;
DESCRIPTION
qtest returns zero if the queue is empty. Otherwise, it returns the device number of the first entry. The queue remains unchanged.
SEE ALSO
qenter, qread, qreset Programming Guide, Section 7.4, The Event Queue
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987