diff options
author | eivind <eivind@FreeBSD.org> | 1998-09-28 15:34:24 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-09-28 15:34:24 +0000 |
commit | d1204d260f029316bea4c00223c0d320f5de4e38 (patch) | |
tree | 72ece33b7a46cf48b88d7b858050de8ecae9798d /lib/libc/stdio/fclose.3 | |
parent | c7cd80895a2d293b7020acd4df0323dd40b6f12a (diff) | |
download | FreeBSD-src-d1204d260f029316bea4c00223c0d320f5de4e38.zip FreeBSD-src-d1204d260f029316bea4c00223c0d320f5de4e38.tar.gz |
Document that we will core-dump on getting a NULL pointer.
Diffstat (limited to 'lib/libc/stdio/fclose.3')
-rw-r--r-- | lib/libc/stdio/fclose.3 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/stdio/fclose.3 b/lib/libc/stdio/fclose.3 index 77f3316..3e3e0f5 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 , |