Re: EINTR on close() in Linux?

Alan Cox (alan@lxorguk.ukuu.org.uk)
22 Jul 2002 13:32:48 +0100


On Mon, 2002-07-22 at 11:38, Ketil Froyn wrote:
>
> If Linux returns EINTR and tears down the fd, this code is bad because

Linux doesn't return -EINTR from close(). It did for a brief while
during development by accident.

While the standard permits it, sanity suggests otherwise (see earlier
discussions)

-
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/