In Linux/freeBSD kernel whenever we have to make a driver module for a device, we make a file in the /dev/ folder and use it to communicate with the other processes.
If that is so, what is the purpose of the ioctl set of functions ? Whatever information, we want to convey with the device driver can be written to/read from this file.
Can anyone please explain it ?
I have tried reading about it on tldp.org but couldn't really understand it.
Aucun commentaire:
Enregistrer un commentaire