 |
OSdequeue |
Function (ROM Call 0x3AA) |
Removes an element from a queue.
OSdequeue removes an element from a queue structure pointed to by Queue and stores
them in the variable pointed to by dest. As queue is a FIFO structure, first removed element
is the first element inserted in the queue; the next removed element is the second element
inserted in the queue, etc. OSdequeue returns TRUE if the queue was
empty, else returns FALSE.
Note: This function may be used for fast keyboard reading: see kbd_queue.
Used by: ngetchx, pushkey
See also: OSenqueue, kbd_queue