ev_close(S-osr5)
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-osr5),
ev_count(S-osr5),
ev_flush(S-osr5),
ev_getdev(S-osr5),
ev_getemask(S-osr5),
ev_gindev(S-osr5),
ev_init(S-osr5),
ev_open(S-osr5),
ev_pop(S-osr5),
ev_read(S-osr5),
ev_resume(S-osr5),
ev_setemask(S-osr5),
ev_suspend(S-osr5)
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.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005