aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1998-12-17 17:13:47 +0000
committerEivind Eklund <eivind@FreeBSD.org>1998-12-17 17:13:47 +0000
commit70efdda93db9d0d2a1fec8ad289b2a616995c08b (patch)
treecd1fcf4c33bd39eca272ebb5cbb9961c303d5f65 /lib
parentefba76d7ff3e88a334aa782e1a7ef27d1da6c808 (diff)
downloadsrc-70efdda93db9d0d2a1fec8ad289b2a616995c08b.tar.gz
src-70efdda93db9d0d2a1fec8ad289b2a616995c08b.zip
Note that dying on NULL is an implementation detail.
Notes
Notes: svn path=/head/; revision=41902
Diffstat (limited to 'lib')
-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 61822e5d7604..81f260fc3498 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 ,