summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fclose.3
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-12-17 17:13:47 +0000
committereivind <eivind@FreeBSD.org>1998-12-17 17:13:47 +0000
commit7cdf796bab6a556fe3ed95398c479a01dcde9a15 (patch)
treeafaafcc408bb6d2616828f59c81a941a2a833deb /lib/libc/stdio/fclose.3
parent586eaf95b26fa64e8628fc79ea050f84c7da21e6 (diff)
downloadFreeBSD-src-7cdf796bab6a556fe3ed95398c479a01dcde9a15.zip
FreeBSD-src-7cdf796bab6a556fe3ed95398c479a01dcde9a15.tar.gz
Note that dying on NULL is an implementation detail.
Diffstat (limited to 'lib/libc/stdio/fclose.3')
-rw-r--r--lib/libc/stdio/fclose.312
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/stdio/fclose.3 b/lib/libc/stdio/fclose.3
index 61822e5..81f260f 100644
--- a/lib/libc/stdio/fclose.3
+++ b/lib/libc/stdio/fclose.3
@@ -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 ,
OpenPOWER on IntegriCloud