Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: From Eric Anholt: | Date | Wed, 12 May 2004 00:12:03 +0000 (UTC) |
| |
Followup to: <20040511234329.GA27242@kroah.com> By author: Greg KH <greg@kroah.com> In newsgroup: linux.dev.kernel > > Don't know, but how are you dealing with the issue that an "int" is > different for different kernel sizes (64 vs 32) and userspace too. > That's why you can't use it in an ioctl and expect things to work > properly. >
On Linux, "int" should always be 32 bits. "long", and "void *", however, may be 32 or 64 bits.
-hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |