How do I attach/detach interrupts in C language. I am currently working with GPIO Pins of Raspberry Pi and want to convert statements which I used for arduino:
attachInterrupt();
detachInterrupt(Pin_no);
to C language commands.
I read about one of them .
atachInterrupt() may be written as wiringPiISR(1, INT_EDGE_RISING, &fun);
What about detachInterrupt?