Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ev_count(S) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 ev_count(S)                    6 January 1993                    ev_count(S)


 Name

    ev_count - returns the number of 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_count()


 Description

    evcount Returns the number of events currently in the queue.  An event
    queue must have been opened with evinit and evopen.

 Diagnostics

    evcount returns -1 if there is not an open event queue.

 See also

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

 Standards conformance

    evcount 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