[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 2

MRFLUSH (Flush Input Ring)

Purpose

Flushes input ring.

Syntax

#include <sys/inputdd.h>
int ioctl (FileDescriptor, MRFLUSH, NULL)
int FileDescriptor;

Description

The MRFLUSH ioctl subroutine call flushes the input ring. It loads the input ring head and tail pointers with the starting address of the reporting area. The overflow flag is then cleared.

Parameters

FileDescriptor Specifies the open file descriptor for the mouse.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]