> Which implicitly assumes that sizeof(char *)==sizeof(int), 
> which I think makes it 64 bit unclean.

I'm inclined to think that that line of the man page example
should actually read:

    e.data = (void *) i;

(I've changed the manual page to say that.)

Why there should be a "(char *)" cast there is a bit of
a mystery.

AFAIK, on every Unix implementation:

    sizeof(void *) >= sizeof(int) 

and for that matter:

    sizeof(char *) >= sizeof(int)

So I don't believe the cast is 64 bit unclean.

Cheers,

Michael

-- 
Michael Kerrisk
maintainer of Linux man pages Sections 2, 3, 4, 5, and 7 

Want to help with man page maintenance?  Grab the latest
tarball at ftp://ftp.win.tue.nl/pub/linux-local/manpages/
and grep the source files for 'FIXME'.

Please submit non-trivial man page suggestions as 
"diff -u" patches.

Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to