Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ qread(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



qread(3G)                                                            qread(3G)



NAME
     qread - reads the first entry in the event queue

C SPECIFICATION
     long qread(data)
     short *data;

PARAMETERS
     data expects a pointer to the location 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.




























                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026