> uname -smrsv
HP-UX B.11.23 U ia64
Several users need to create segments of shared memory. Duplicate keys
must be avoided.
Does '(valid) usage of ftok()' guaranty that?
It seems that the following actions should be done:
A1) Create some file (and not delete it),
A2) Generate key with using ftok().
The questions:
Q1) Should somebody manage naming and creating such files?
Q2) Are there any (underwater) reefs while using ftok()?
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html http://sourceforge.net/users/alexvn