1 --- ftok.3 2004-11-25 11:38:00.000000000 -0800
2 +++ ftok.3.edit 2006-07-12 11:19:51.000000000 -0700
10 .Fn ftok "const char *path" "int id"
13 function attempts to create a unique key suitable for use with the
22 of an existing file and a user-selectable
25 function will return -1 if
27 does not exist or if it cannot be accessed by the calling process.
29 +.Fd #include <sys/types.h>
30 +.Fd #include <sys/ipc.h>
46 .An Thorsten Lockert Aq tholo@sigmasoft.com
48 -The returned key is computed based on the device minor number and inode of the
51 +The returned key is computed based on the device minor number and inode
54 in combination with the lower 8 bits of the given
56 -Thus it is quite possible for the routine to return duplicate keys.
57 +Thus, it is quite possible for the routine to return duplicate keys.