summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1998-09-28 15:34:24 +0000
committerEivind Eklund <eivind@FreeBSD.org>1998-09-28 15:34:24 +0000
commit8bd4c21699ff39f158bd4b86603b98202ff06883 (patch)
tree2e18f50385088fa09004e4fc18d67dd7974d774f /lib/libc
parentb9b5f72bb60d160b20b185c4d1a10fb1180ee73d (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/fclose.34
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/stdio/fclose.3 b/lib/libc/stdio/fclose.3
index 77f331612df6..3e3e0f5d656d 100644
--- a/lib/libc/stdio/fclose.3
+++ b/lib/libc/stdio/fclose.3
@@ -80,6 +80,10 @@ for any of the errors specified for the routines
.Xr close 2
or
.Xr fflush 3 .
+If passed a NULL argument,
+.Fn fclose
+will dump core. This is intentional, as it makes it easier to make
+sure program written under FreeBSD are bug free.
.Sh SEE ALSO
.Xr close 2 ,
.Xr fflush 3 ,