Flushes input ring.
#include <sys/inputdd.h>
int ioctl ( FileDescriptor, KSRFLUSH, NULL)
int FileDescriptor;
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.
Item | Description |
---|---|
FileDescriptor | Specifies the open file descriptor for the keyboard. |