Re: read/recv sometimes returns EAGAIN instead of EINTR on SMPmachines

Peter Niemayer (niemayer@isg.de)
Tue, 23 Jul 2002 12:16:29 +0200


"David S. Miller" wrote:

> Can you cite some part of the POSIX spec which states that EAGAIN
> cannot be returned when signals are received by a caller of
> tcp_recvmsg?

See: http://www.opengroup.org/onlinepubs/007904975/functions/recv.html

IMHO, the text is in no way unclear that EAGAIN is not the correct return
code for the situation while EINTR definitely is.

Regards,

Peter Niemayer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/