DIALRFLUSH (Flush Input Ring)

Purpose

Flushes input ring.

Syntax

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

Description

The DIALRFLUSH 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

Item Description
FileDescriptor Specifies the open file descriptor for the dials.