]> git.ipfire.org Git - thirdparty/man-pages.git/commit - man3/getmntent.3
getmntent.3: Clarify that endmntent() should be used rather than fclose()
authorElliot Hughes <enh@google.com>
Wed, 3 Oct 2018 20:00:28 +0000 (13:00 -0700)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 5 Nov 2018 15:52:40 +0000 (16:52 +0100)
commit7c2c86efb7b922c768b9260b184c2893f72f3dfc
treee3a60fbd7849e57acb98f1d07238f3be10b3fcb1
parentc36a6bedf681884a3278e1b9f46108e22e5f238c
getmntent.3: Clarify that endmntent() should be used rather than fclose()

This doesn't actually matter on any C library I know of --- they
all just do a NULL check and forward to fclose(3). (The actual
mistake I saw was someone not realizing that they had to call
*anything*.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/getmntent.3