Ioctl which stand for Input Output control is a system call used in linux to implement system calls which are not be available in the kernel by default. The major use of this is in case of handling some specific operations of a device for which the kernel does not have a system call by default. For eg: Ejecting the media from a "cd" drive.An ioctl command is implemented to give the eject system ca