IOCTLCodes
IOCTLCodes are a mechanism used in Unix-like operating systems to control device-specific operations that are not covered by the standard input/output system calls. IOCTL stands for Input/Output Control. These codes are passed to the ioctl system call, which then directs the kernel to perform a specific action on a device driver. Each device driver defines its own set of IOCTLCodes to manage its unique functionalities.
When a user-space application needs to perform an operation on a device that is not a standard
IOCTLCodes are often defined as integer constants in header files associated with the specific device or subsystem.