Query: giigeteventmask
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
giiSetEventMask(3) GGI giiSetEventMask(3)NAMEgiiSetEventMask, giiGetEventMask, giiAddEventMask, giiRemoveEventMask - Set the types of events queuedSYNOPSIS#include <ggi/gii.h> int giiSetEventMask(gii_input_t inp, gii_event_mask evm); gii_event_mask giiGetEventMask(gii_input_t inp); int giiAddEventMask(gii_input_t inp, gii_event_mask evm); int giiRemoveEventMask(gii_input_t inp, gii_event_mask evm);DESCRIPTIONCalling giiSetEventMask indicates to LibGII that only the types of events that match the specified event mask will be read by the applica- tion in subsequent giiEventPoll(3) or giiEventRead(3) calls. LibGII can then save time and memory by skipping checks and not allocating queues for events that will never be read out. The default mask allows all events. giiAddEventMask and giiRemoveEventMask are macros that set or delete individual bits in the bitmask. Note: giiSetEventMask is an advisory call. For correct operation, the application still needs to pass a restrictive event mask to the event reading functions.RETURN VALUEgiiSetEventMask, giiAddEventMask and giiRemoveEventMask return 0 on success or an gii-error(3) code otherwise. giiGetEventMask returns the currently set mask.SEE ALSOgii_event_mask(3) libgii-1.0.x 2006-12-30 giiSetEventMask(3)
Related Man Pages |
---|
giiclose(3) - debian |
giieventsqueued(3) - debian |
giijoininputs(3) - debian |
giigeteventmask(3) - debian |
giiseteventmask(3) - debian |
Similar Topics in the Unix Linux Community |
---|
Removing a particular line from a text file |
pasting two files while transposing one of them |
If then else for decimal numbers part2 |