Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ev_gindev(S) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 ev_gindev(S)                   6 January 1993                   ev_gindev(S)


 Name

    ev_gindev - include/exclude devices for event input

 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_gindev(devinfop, action)
    struct devinfo *devinfop;
    char action;


 Description

    evgindev is used in concert with evgetdev to exclude or later re-
    include devices from feeding the event queue. The argument devinfop con-
    tains the pointer to the device to be included or excluded. The arguments
    are a pointer to the device and EXCLUDE.  The pointer is obtained through
    the getdev function.

    EXCLUDE is defined in <mouse.h>.

 Diagnostics

    This routine returns 0 if it succeeds. It returns -1 if there is no
    active event queue. It returns -2 if the devinfo argument does not point
    to a valid device. It returns -3 on attempts to exclude an excluded de-
    vice, or attempts to reinclude an included device. It returns -4 if the
    action argument is invalid.

 See also

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

 Standards conformance

    evgindev 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