Re: EINTR on close() in Linux?

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Jul 22 2002 - 07:32:48 EST


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/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:38 EST