Hello

I have tested gpio-event and it works well using " cat /dev/gpio-event ".
However when I use it in a C program it waits until a signal is detected then it just keep receiving non-existent signals.
I want to measure the width of a pulse, detecting the rising edge, getting the current time, detecting the falling edge and again detecting the falling edge.
Does someone knows why is this happening and what could be done?

Thanks
Mathias