[Previous]
[Contents]
[Next]

mouse_close()

close a control channel to a mouse driver

Synopsis:

#include <sys/mouse.h>
int mouse_close( struct _mouse_ctrl *mc );

Description:

The mouse_close() function closes a previously opened control channel to a mouse driver.

The argument mc is the value returned by a previous mouse_open() call.

Returns:

0
Success
-1
An error occurred. errno is set to indicate the error.

Errors:

EINVAL
The mouse control structure is invalid.

Examples:

See mouse_read().

Classification:

QNX

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

errno, mouse_flush(), mouse_open(), mouse_param(), mouse_read()


[Previous]
[Contents]
[Next]