Kai Blin blin@gmx.net writes:
- Alexandre Julliard julliard@winehq.org [23/08/05, 20:39:52]:
You should avoid using stdio.
How would I do this avoiding stdio? ntlm_auth uses stdin and stdout to read input and write output. This seems to be the Unix way of doing things.
I mean the stdio functions like fdopen, fgets, etc. They are not guaranteed to be thread-safe because of the way we handle libc threads. It's better to use normal read()/write() instead.