[maemo-developers] [maemo-developers] Re: Tinymail using mmap() gets killed by the kernel of the device
From: Eero Tamminen eero.tamminen at movial.fiDate: Fri Jul 14 14:12:00 EEST 2006
- Previous message: [maemo-developers] Re: Tinymail using mmap() gets killed by the kernel of the device
- Next message: [maemo-developers] Maemo 2 EDS Tutorial
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, > I know I had to use some guint32's, maybe those are differently written > to the file on ARM? On ARM memory accesses have to be aligned (e.g. long = 4 bytes, so long accesses have to be aligned to 4 bytes). AFAIK ANSI-C standard guarantees that structure members are always in the same order (needed for NFS/RPC from the 80's I think :)), but compiler will align the structure sizes. - Eero
- Previous message: [maemo-developers] Re: Tinymail using mmap() gets killed by the kernel of the device
- Next message: [maemo-developers] Maemo 2 EDS Tutorial
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]