Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ev_flush(S) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 ev_flush(S)                    6 January 1993                    ev_flush(S)


 Name

    ev_flush - discard all events currently in the queue

 Syntax


    cc  . . .  -levent


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

    int ev_flush()


 Description

    evflush discards all events currently in the queue. Events in the queue
    when evflush is invoked are not further available to the program.

 Diagnostics

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

 See also

    evblock(S), evclose(S), evcount(S), evgetdev(S), evgetemask(S),
    evgindev(S), evinit(S), evopen(S), evpop(S), evread(S),
    evresume(S), evsetemask(S), evsuspend(S)

 Standards conformance

    evflush is not part of any currently supported standard; it is an exten-
    sion of AT&T System V provided by the Santa Cruz Operation.


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