Date: Tue, 29 Sep 1998 10:33:30 +1000 From: Bruce Evans <bde@zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, eivind@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/stdio fclose.3 Message-ID: <199809290033.KAA22366@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> Modified files:
> lib/libc/stdio fclose.3
> Log:
> Document that we will core-dump on getting a NULL pointer.
null (no way we can get NULL)
This goes without saying. We may do anything on getting an invalid
pointer (i.e., an arg that isn't a pointer to an open stream, in
particular a null pointer).
> Revision Changes Path
> 1.2 +4 -0 src/lib/libc/stdio/fclose.3
+1 -6 to add $Id$ and delete the section on returning EBADF might be
correct. The documentation could say something like "EBADF The named
stream is not actually a stream, but appears to be the carcass of a
stream that was fclosed. This behaviour is an implementation detail,
so it should not be depended on. Why am I documenting this?"
Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809290033.KAA22366>
