Note that dying on NULL is an implementation detail.

This commit is contained in:
eivind 1998-12-17 17:13:47 +00:00
parent 586eaf95b2
commit 7cdf796bab

View File

@ -63,7 +63,7 @@ is returned and the global variable
.Va errno
is set to indicate the error.
In either case no further access to the stream is possible.
.Pp
.Sh ERRORS
The
.Fn fclose
function
@ -75,10 +75,12 @@ or
.Xr fflush 3 .
.Sh NOTES
.Fn fclose
does not handle NULL arguments; they will result in a segment
violation. This is intentional - it makes it easier to make sure
programs written under FreeBSD are bug free. This behaviour is an
implementation detail, and programs should not rely upon it.
does not handle NULL arguments; they will result in a segmentation
violation.
This is intentional - it makes it easier to make sure programs written
under FreeBSD are bug free.
This behaviour is an implementation detail, and programs should not
rely upon it.
.Sh SEE ALSO
.Xr close 2 ,
.Xr fflush 3 ,