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

Re: Is this a bug in libc6?



eparis@ven.ra.rockwell.com (Eloy A. Paris)  wrote on 10.04.98 in <[🔎] 6gkahr$ugv$1@zeus.ven.ra.rockwell.com>:

> According to fclose's man page, it will return EOF and set errno to
> EBADF if the argument is not an open stream.

That is not what the info docs for libc6 say:

Closing Streams
===============

   When a stream is closed with `fclose', the connection between the
stream and the file is cancelled.  After you have closed a stream, you
cannot perform any additional operations on it.

[...]

Incidentally, the manpage seems to contradict itself; it also says that  
"no further access to the stream is possible".

MfG Kai


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


Reply to: