DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

ev_gindev(S-osr5)


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

ev_gindev is used in concert with ev_getdev to exclude or later re-include devices from feeding the event queue. The argument devinfop contains 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 device, or attempts to reinclude an included device. It returns -4 if the action argument is invalid.

See also

ev_block(S-osr5), ev_close(S-osr5), ev_count(S-osr5), ev_flush(S-osr5), ev_getdev(S-osr5), ev_getemask(S-osr5), ev_init(S-osr5), ev_open(S-osr5), ev_pop(S-osr5), ev_read(S-osr5), ev_resume(S-osr5), ev_setemask(S-osr5), ev_suspend(S-osr5)

Standards conformance

ev_gindev is not part of any currently supported standard; it is an extension of AT&T System V provided by the Santa Cruz Operation.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005