In windows we create a function in a driver and we can call it from the application using dll as the middle man. What happens in linux? How can we create a custom function (ioctl) for example and call/ use it from the host application?
Any suggestions, insights, examples, links would be great.