From: Miklos S. <mi...@sz...> - 2005-11-09 09:21:23
|
> On a somewhat related note, I found an error on the Wiki. > http://fuse.sourceforge.net/wiki/index.php/FAQ states: > "The C language guarantees, that an unsigned long will always be able > to hold a pointer." Hmm, doesn't it? I haven't actually looked at the spec. Linux kernel depends on this in numerous places, which means that for all sane compilers on all sane architectures this is true. I admit that chosing unsigned long for the type of a filehandle was a bit unfortunate, since on the kernel interface it's a 64bit value, which means that on 32bit archs the top 32bits are not usable. Miklos |