#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.
FileDescriptor | Specifies the open file descriptor for the keyboard. |
This ioctl subroutine call is part of Base Operating System (BOS) Runtime.