ftok.3: grfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-06-29 10:42:35 +02:00
parent 2c3a7aa1a5
commit 88ba465160
1 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ On some ancient systems, the prototype was:
.BI "key_t ftok(char *" pathname ", char " proj_id );
.RE
.PP
Today
Today,
.I proj_id
is an
.IR int ,
@ -92,10 +92,10 @@ that is why the behavior is said to be undefined when
.I proj_id
is zero.
.LP
Of course no guarantee can be given that the resulting
Of course, no guarantee can be given that the resulting
.I key_t
is unique.
Typically, a best effort attempt combines the given
Typically, a best-effort attempt combines the given
.I proj_id
byte, the lower 16 bits of the inode number, and the
lower 8 bits of the device number into a 32-bit result.