ev_close(3event)


ev_close -- close the event queue and all associated devices

Synopsis

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.

Return values

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.

References

ev_block(3event), ev_count(3event), ev_flush(3event), ev_getdev(3event), ev_getemask(3event), ev_gindev(3event), ev_init(3event), ev_open(3event), ev_pop(3event), ev_read(3event), ev_resume(3event), ev_setemask(3event), ev_suspend(3event)

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.
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.