Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ alFlushEvents(3dm) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

alOpenEventQueue(3dm)

oserror(3C)



alFlushEvents(3dm)                                          alFlushEvents(3dm)



NAME
     alFlushEvents - Flush all events in event queue

SYNOPSIS
     #include <dmedia/audio.h>

     int alFlushEvents(ALeventQueue eventq)

PARAMETER
     eventq   expects a valid ALeventQueue initialized by
              alOpenEventQueue(3dm).


DESCRIPTION
     alFlushEvents(3dm) discards all events in eventq and leaves it empty.  If
     the event queue is empty, this operation will do nothing.

DIAGNOSTICS
     Upon successful completion, alFlushEvents returns 0. Otherwise,
     alFlushEvents returns -1 and sets an error number which can be retrieved
     with oserror(3C).

     alFlushEvents can fail for the following reason:

     ALBADINVALIDEVENTQ   eventq is either invalid or null.

SEE ALSO
     alOpenEventQueue(3dm), oserror(3C)



























                                                                        Page 1



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