The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

giiGetEventMask (3)
  • >> giiGetEventMask (3) ( Linux man: Библиотечные вызовы )
  •  

    NAME

    giiSetEventMask, giiGetEventMask, giiAddEventMask, giiRemoveEventMask - Set the types of events queued
     
    

    SYNOPSIS

    #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 mask);

    int giiRemoveEventMask(gii_input_t inp, gii_event_mask mask); .SH "DESCRIPTION"

    Calling giiSetEventMask indicates to LibGII that only the types of events that match the specified event mask will be read by the application in subsequent giiEventPoll or giiEventRead 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.

    giiGetEventMask returns the event mask in effect.

    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 VALUE

    giiSetEventMask, giiAddEventMask and giiRemoveEventMask return 0 on success or an error code otherwise.

    giiGetEventMask returns the currently set mask.


     

    Index

    NAME
    SYNOPSIS
    RETURN VALUE


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру