ev_close(S)
ev_close --
close the event queue and all associated devices
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_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 and ev_open.
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)
Standards conformance
ev_close is not part of any currently supported standard;
it is an extension of AT&T System V provided by the Santa Cruz Operation.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003