aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/getmntent.3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-01-15 20:41:01 +0100
committerAlejandro Colomar <alx@kernel.org>2025-05-09 10:32:29 +0200
commita239bc4520d6cb8b4d217510c22eddd7c3fd5d10 (patch)
treeb42794de000d8fd51495328c5279b124fda6d398 /man/man3/getmntent.3
parenta7ad333a2e953f6f427d17d240044cefc6e39177 (diff)
downloadman-pages-a239bc4520d6cb8b4d217510c22eddd7c3fd5d10.tar.gz
man/: Consistently use 'path' for parameters referring to pathnames
And use 'pathname' in the descriptions. 'pathname' is the POSIXly correct term, and 'path' is a reasonable abbreviation for it in parameter names. Cc: "G. Branden Robinson" <branden@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/getmntent.3')
-rw-r--r--man/man3/getmntent.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man/man3/getmntent.3 b/man/man3/getmntent.3
index fecc3f99e2..48abdac4a3 100644
--- a/man/man3/getmntent.3
+++ b/man/man3/getmntent.3
@@ -15,7 +15,7 @@ Standard C library
.B #include <stdio.h>
.B #include <mntent.h>
.P
-.BI "FILE *setmntent(const char *" filename ", const char *" type );
+.BI "FILE *setmntent(const char *" path ", const char *" type );
.P
.BI "struct mntent *getmntent(FILE *" stream );
.P
@@ -56,7 +56,7 @@ and the mounted filesystem description file
The
.BR setmntent ()
function opens the filesystem description file
-.I filename
+.I path
and returns a file pointer which can be used by
.BR getmntent ().
The argument