Illuminates and darkens LEDs on the keyboard.
int ioctl (FileDescriptor, KSLED, Arg) int FileDescriptor, *Arg;
The KSLED ioctl subroutine call illuminates and darkens the LEDs on the natively attached keyboard. The Arg parameter points to a bit mask (one bit per LED) that specifies the state of each keyboard LED.
The current state of the keyboard LEDs is returned in the input ring event report for the keyboard.
When keyboard diagnostics are enabled, the KSLED ioctl operation fails and sets the errno global variable to a value of EBUSY.
|Arg|| Specifies the address of the LED bit mask. The bit mask can be any combination of the following values ORed together:
|FileDescriptor||Specifies the open file descriptor for the keyboard.|
This ioctl subroutine call is part of Base Operating System (BOS) Runtime.