[fpc-devel] Problems with fpioctl on ARM debian linux andFPC2.6

Ludo Brands ludo.brands at free.fr
Tue Jun 19 20:02:30 CEST 2012


> > Are you sure about the conversion (*SPI_IOC_MESSAGE(1)*) 
> 1075866368? 
> > That is
> 
> I can confirm that a c program spits out this number for 
> SPI_IOC_MESSAGE(1).
> 

And what is sizeof (struct spi_ioc_transfer) in c?
Because that would indicate that u64 needs to be indeed 64 bits. I have seen
u64 defined as typedef unsigned long long for ARM.

Ludo




More information about the fpc-devel mailing list