I'm using an imx6ull evk, in which I have implemented a button interrupt. The interrupt working perfectly. But I would like to indicate the interrupt to an application. While searching for various solutions, I found poll().
1. Whether poll() is the solutions for indication interrupt to an application?Confirm it?
2. How to implement poll(), depended variables etc?