On Mon, Jun 13, 2005 at 12:50:14AM +0200, Miloslav Trmac wrote: > On Sun, Jun 12, 2005 at 06:41:25PM -0400, Alan Cox wrote: > > And writing to errno isn't allowed in C > It is allowed, actually. C99 describes it as a "modifiable lvalue" > (OK, that's not explicit), footnote 170 says "a program that uses > errno for error checking should set it to zero before a library > function call" (OK, not normative). Thanks for the correction.