[lkml]   [2004]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] cosa.h ioctl numbers
Jan Kasprzak <> writes:

> Andreas Schwab wrote:
> : If you want real compatibility you should use size_t, which is what 2.4 is
> : effectively using.
> :
> I assume that sizeof(struct .. *) == sizeof(size_t) on i386.

This has nothing to do with this, but everything to do with
sizeof(sizeof(foo)) == sizeof(size_t). And COSAIODOWNLD does not expect a
pointer to a pointer but a pointer to struct cosa_download, which means
that _IOW('C',0xf2,struct cosa_download *) would be completely wrong


Andreas Schwab, SuSE Labs,
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:08    [W:0.051 / U:0.392 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site