EV_CLOSE(S) UNIX System V EV_CLOSE(S)
Name
ev_close - close the event queue and all associated devices
Syntax
#include <types.h>
#include <param.h>
#include <sysmacros.h>
#include <page.h>
#include <event.h>
#include <mouse.h>
int ev_close()
Description
ev_close closes the event queue and any event devices
currently open. This call takes no arguments.
An event queue must have been opened previously with
ev_init(S) and ev_open(S).
Diagnostics
This routine returns a negative number to indicate an error.
Making this call before obtaining an open event queue is an
example of such an error.
See Also
ev_block(S), ev_count(S), ev_flush(S), ev_getdev(S),
ev_getemask(S), ev_gindev(S), ev_init(S), ev_open(S),
ev_pop(S), ev_read(S), ev_resume(S), ev_setemask(S),
ev_suspend(S)
Notes
This routine must be linked in with the -levent linker
option.
(printed 6/20/89)