Пример #1
0
/*
 * Close the keyboard.
 */
void
MWKbd_Close (void)
{
        uid_unregister_device (kbd_fd);
	uid_close_queue ();
	close (kbd_fd);
}
Пример #2
0
/*
 * Close the mouse device.
 */
static void
MWMou_Close (void)
{
        uid_unregister_device (mou_fd);
        uid_close_queue ();
#if RTEMS
	close (mou_fd);
#endif
}
Пример #3
0
/* close and unregister device */
static int close_queue_and_unregister_device( int fd )
{
    uid_unregister_device( fd );
    return uid_close_queue();
}