DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

ev_getemask(3event)


ev_getemask -- return the current event mask

Synopsis

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.

Return values

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

References

ev_block(3event), ev_close(3event), ev_count(3event), ev_flush(3event), ev_getdev(3event), ev_gindev(3event), ev_init(3event), ev_open(3event), ev_pop(3event), ev_read(3event), ev_resume(3event), ev_setemask(3event), ev_suspend(3event)

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.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004