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

Technical Reference: Kernel and Subsystems, Volume 2

KSRFLUSH (Flush Input Ring)

Purpose

Flushes input ring.

Syntax

#include <sys/inputdd.h>

int ioctl ( FileDescriptor, KSRFLUSH, NULL)
int FileDescriptor;

Description

The KSRFLUSH ioctl subroutine call flushes the input ring. The KSRFLUSH ioctl subroutine call loads the starting address of the reporting area into the input ring head and tail pointers, then clears the overflow flag.

Parameter

FileDescriptor Specifies the open file descriptor for the keyboard.

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