On 11-Apr-98, 13:27 (CDT), Avery Pennarun <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]