diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
commit | 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 (patch) | |
tree | 3ee7a3ec64525911fa865bb984c86d997d855527 /man3/ftok.3 | |
parent | Adding debian version 6.05.01-1. (diff) | |
download | manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.tar.xz manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.zip |
Merging upstream version 6.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | man3/ftok.3 | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/man3/ftok.3 b/man3/ftok.3 index 3b7d8ec..258276c 100644 --- a/man3/ftok.3 +++ b/man3/ftok.3 @@ -7,7 +7,7 @@ .\" Changed data type of proj_id; minor fixes .\" aeb: further fixes; added notes. .\" -.TH ftok 3 2023-07-20 "Linux man-pages 6.05.01" +.TH ftok 3 2023-10-31 "Linux man-pages 6.7" .SH NAME ftok \- convert a pathname and a project identifier to a System V IPC key .SH LIBRARY @@ -17,7 +17,7 @@ Standard C library .nf .B #include <sys/ipc.h> .fi -.PP +.P .BI "key_t ftok(const char *" pathname ", int " proj_id ); .SH DESCRIPTION The @@ -34,7 +34,7 @@ type System V IPC key, suitable for use with .BR semget (2), or .BR shmget (2). -.PP +.P The resulting value is the same for all pathnames that name the same file, when the same value of .I proj_id @@ -64,20 +64,19 @@ T{ .BR ftok () T} Thread safety MT-Safe .TE -.sp 1 .SH STANDARDS POSIX.1-2008. .SH HISTORY POSIX.1-2001. .SH NOTES On some ancient systems, the prototype was: -.PP +.P .in +4n .EX .BI "key_t ftok(char *" pathname ", char " proj_id ); .EE .in -.PP +.P Today, .I proj_id is an @@ -88,7 +87,7 @@ Typical usage has an ASCII character that is why the behavior is said to be undefined when .I proj_id is zero. -.PP +.P Of course, no guarantee can be given that the resulting .I key_t is unique. |