aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/ftok.3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-03-31 00:24:43 +0200
committerAlejandro Colomar <alx@kernel.org>2025-03-31 00:27:27 +0200
commitea535c73418ab4c08305861e3a5d70a8a3b73b7e (patch)
treedbd4f3fd9ba55b678a88bdb81a992377e87f1a91 /man/man3/ftok.3
parentd22c3fbf81ccf353838e54523c05b089d54e0bc4 (diff)
downloadman-pages-ea535c73418ab4c08305861e3a5d70a8a3b73b7e.tar.gz
man/man3/: Use 'path' instead of 'pathname' for parameters
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/ftok.3')
-rw-r--r--man/man3/ftok.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man3/ftok.3 b/man/man3/ftok.3
index e54485714a..3846a5e3cc 100644
--- a/man/man3/ftok.3
+++ b/man/man3/ftok.3
@@ -18,12 +18,12 @@ Standard C library
.B #include <sys/ipc.h>
.fi
.P
-.BI "key_t ftok(const char *" pathname ", int " proj_id );
+.BI "key_t ftok(const char *" path ", int " proj_id );
.SH DESCRIPTION
The
.BR ftok ()
function uses the identity of the file named by the given
-.I pathname
+.I path
(which must refer to an existing, accessible file)
and the least significant 8 bits of
.I proj_id
@@ -73,7 +73,7 @@ On some ancient systems, the prototype was:
.P
.in +4n
.EX
-.BI "key_t ftok(char *" pathname ", char " proj_id );
+.BI "key_t ftok(char *" path ", char " proj_id );
.EE
.in
.P