I have some experience with the python GPIO library and am working on porting some of my code to C for better performance. Normally, at the end of programs, or when I break out of them with Ctrl-C, I have my code set up with a try except so that GPIO.cleanup() is called and my motors don't just keep on doing what they were doing when I broke out.

However, I see no equivalent of GPIO.cleanup() in wiringPi. Is there one, or do I not need to bother with this in wiringPi?