[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is this a bug in libc6?



On 11-Apr-98, 13:27 (CDT), Avery Pennarun <apenwarr@worldvisions.ca> wrote:
> The point here is that it's _documented_ to return EBADF if the stream
> pointer is not an open stream, and that's not what happens.  This is
> difficult to enforce in practice, and is not necessary for ISO compliance --
> so let's fix the man page.

Nope, you're reading that backwards. It says that if fclose() returns
_EOF_ and _errno_ = _EBADF_, then that means that the stream is not
open.

Steve


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: