ev_suspend(S) 6 January 1993 ev_suspend(S) Name ev_suspend - suspends an event queue. 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_suspend () Description evsuspend suspends an event queue from receiving input. For example, if an application wants to fork a subshell, a call to evsuspend suspends events until the subshell returns and the queue is resumed with an evresume call. That way a process in the subshell can also have an event queue. This is required because the event manager only allows one active event queue per terminal or multiscreen. Diagnostics This function returns -1 if no event queue is opened. It returns -2 if the queue is already suspended. Normally it returns zero. See also evblock(S), evclose(S), evcount(S), evflush(S), evgetdev(S), evgetemask(S), evgindev(S), evinit(S), evopen(S), evpop(S), evread(S), evresume(S), evsetemask(S) Standards conformance evsusp is not part of any currently supported standard; it is an exten- sion of AT&T System V provided by the Santa Cruz Operation.