[En-Nut-Discussion] ICC printf wierdness

Harald Kipp harald.kipp at egnite.de
Wed Jun 30 19:34:43 CEST 2004

Your answer had been faster than mine, but isn't fully

It's not a context switch, which produces this result,
allthough this might be possible. It will also happen
to single-threaded programs. inet_ntoa re-uses a static
buffer, which is overrideen by each call.

>Oops& Answering my own puzzler& inet_ntoa() is not thread safe. -Joe

More information about the En-Nut-Discussion mailing list