Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ev_getmsk(S) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 ev_getemask(S)                 6 January 1993                 ev_getemask(S)


 Name

    ev_getemask - return the current event mask

 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_getemask(emaskp)
    emask_t *emaskp;


 Description

    evgetemask returns the current event mask. This call takes a pointer to
    an event mask which is filled in. The program must have already opened an
    event queue.

    This call complements evsetemask.  The manual page for evsetemask
    describes an event mask in detail.

 Diagnostics

    evgetemask returns -1 if there is no open event queue. Otherwise it
    returns 0.

 See also

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

 Standards conformance

    evgetmsk is not part of any currently supported standard; it is an
    extension of AT&T System V provided by the Santa Cruz Operation.


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