View Single Post

   
  #2 (permalink)  
Old 04-21-2008, 07:40 AM
Alex Vinokur
 
Posts: n/a
Default Re: Generating key for shmget() with using ftok()

On Apr 17, 11:49*am, Alex Vinokur <ale...@users.sourceforge.net>
wrote:
> > 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?

[sniped]

Once more question.
Can we use a name of some system file as ftok()'s input?
For instance, ftok.exe itself?


Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn


Reply With Quote