Hi, please don't care about my previous message. It was my fault. I wrote the wrong data structure to the file. It contained an additional char member and that's why I got 5 bytes instead of 4. __attribute__((packed)) is ok and works! Bye. -- Dipl.-Inform. (FH) Reinhard Nissl mailto:rnissl@gmx.de