*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/qread (3)              


qread(3G)							     qread(3G)

NAME    [Toc]    [Back]

     qread - reads the first entry in the event	queue

C SPECIFICATION    [Toc]    [Back]

     long qread(data)
     short *data;

PARAMETERS    [Toc]    [Back]

     data expects a pointer to the location that is to receive the data	the
	  event	queue.

     The returned function value is the	identifier for the device read.

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     qreset, qtest

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
qenter IRIX creates an event queue entry
blkqread IRIX reads multiple entries from the queue
alPendingEvents IRIX Get total number of event queued in event queue
alCheckEvent IRIX Looks for an event in the event queue and retrieves it.
qcontrol IRIX administers event queue
qreset IRIX empties the event queue
alOpenEventQueue IRIX open an audio event queue
alFlushEvents IRIX Flush all events in event queue
qtest IRIX checks the contents of the event queue
alCloseEventQueue IRIX close an audio event queue
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service