Hi!

Is there a way to clean the value in errno?

I'm using perror to try to figure out if something went wrong in a function but I'm pretty sure I'm getting a value that was just there before. How to check if a function changed the value of errno?