Quote Originally Posted by tabstop View Post
So at least in newer implementations, errno should be settable. In fact, footnote 170 states that a program that wishes to check errno should set it to zero before the library call, and check it afterwards.
I don't think it's changed any time real recently, I was just confusing it with the fact that you should not declare errno as a variable, as that CAN certainly make a mess of things.

--
Mats