Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ev_flush(S) — OpenDesktop Software Development System 1.0.0d

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     EV_FLUSH(S)               UNIX System V               EV_FLUSH(S)



     Name
          ev_flush - discard all events currently in the queue

     Syntax
          #include  <types.h>
          #include  <param.h>
          #include  <sysmacros.h>
          #include  <page.h>
          #include  <event.h>
          #include  <mouse.h>

          int ev_flush()

     Description
          ev_flush discards all events currently in the queue. Events
          in the queue when ev_flush is invoked will not be available
          to the program.

     Diagnostics
          ev_flush returns -1 if there is no open event queue.
          Normally it returns zero.

     See Also
          ev_block(S), ev_close(S), ev_count(S), ev_getdev(S),
          ev_getemask(S), ev_gindev(S), ev_init(S), ev_open(S),
          ev_pop(S), ev_read(S), ev_resume(S), ev_setemask(S),
          ev_suspend(S)

     Notes
          This routine must be linked in with the -levent linker
          option.

                                                (printed 6/20/89)



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