Hello. Please tell me can fprintf() set errno to EINTR?
I have not found assignments such as "errno=EINTR" in libc sources (src/lib/libc/stdio, amd64 OpenBSD-5.6 ) but I'm not sure. fprintf()'s man page does not say anything about errno but POSIX.1 says, "If an output error was encountered, these functions shall return a negative value and set /errno/ to indicate the error." -- Alexei Malinin