Thu May 15 11:19:00 GMT 2003
On Thu, May 15, 2003 at 09:54:05AM +1000, Robert Collins wrote:
> And my copy of P1003.1 says:
> "The ftok() function shall return the same key value for all paths that
> name the same file, when called with the same id value, and return
> different key values when called with different id values or with paths
> that name differnet files existing on the same file system at the same
> Key things to note: sus doesn't require uniqueness across file systems
> - but it's a good idea if we can do that for low or no extra cost/
> It *does* require uniqueness within a file system.
So it's a matter of using the 64 bit sensible. What about
8 bit low byte of device minor number.
16 bits high word of nFileIndexHigh
32 bits nFileIndexLow
8 bit id
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:firstname.lastname@example.org
Red Hat, Inc.
More information about the Cygwin-developers