qtest() — 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, the device number of the first entry is returned, and the queue remains unchanged.
SEE ALSO
qenter, qread, qreset
NOTE
This command can be used only in immediate mode.
Version 2.4 — May 08, 1986