DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

ev_getemask(S-osr5)


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

ev_getemask 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 ev_setemask. The manual page for ev_setemask describes an event mask in detail.

Diagnostics

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

See also

ev_block(S-osr5), ev_close(S-osr5), ev_count(S-osr5), ev_flush(S-osr5), ev_getdev(S-osr5), ev_gindev(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_getmsk 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