summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fclose.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/fclose.3')
-rw-r--r--lib/libc/stdio/fclose.32
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/stdio/fclose.3 b/lib/libc/stdio/fclose.3
index 6d71811..9d48228 100644
--- a/lib/libc/stdio/fclose.3
+++ b/lib/libc/stdio/fclose.3
@@ -77,7 +77,9 @@ for any of the errors specified for the routines
or
.Xr fflush 3 .
.Sh NOTES
+The
.Fn fclose
+function
does not handle NULL arguments; they will result in a segmentation
violation.
This is intentional - it makes it easier to make sure programs written
OpenPOWER on IntegriCloud