ev_block(S) 6 January 1993 ev_block(S) Name ev_block - wait until the queue contains an event 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_block() Description After a process has opened an event queue with evinit and evopen, evblock causes the process to sleep until there is an event in the event queue. Diagnostics A call to evblock returns -1 if the process does not have an open event queue, or if it is interrupted. It returns zero if it succeeds. See also evclose(S), evcount(S), evflush(S), evgetdev(S), evgetemask(S), evgindev(S), evinit(S), evopen(S), evpop(S), evread(S), evresume(S), evsetemask(S), evsuspend(S) Standards conformance evblock is not part of any currently supported standard; it is an exten- sion of AT&T System V provided by the Santa Cruz Operation.