aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/getmntent.34
1 files changed, 4 insertions, 0 deletions
diff --git a/man3/getmntent.3 b/man3/getmntent.3
index 8f3f2686ac..6ccc26b5f9 100644
--- a/man3/getmntent.3
+++ b/man3/getmntent.3
@@ -84,6 +84,10 @@ required and can take the same values as the
.I mode
argument of
.BR fopen (3).
+The returned stream should be closed using
+.BR endmntent ()
+rather than
+.BR fclose (3).
.PP
The
.BR getmntent ()