Mail Archives: djgpp/1999/12/22/21:29:17
On 22 Dec 99, at 20:32, Ghalos wrote:
> I have a problem loading the header for an FLI file.... it should be 128
> bytes
> Problem is.... DJGPP pads this out to take up 132 bytes! I guess this is to
> keep everything nicely aligned but I can't read it in from the file
> correctly if this happens... how can I stop it??
Greetings Ghalos,
Please have a look at sections 22.10 and 22.11 of the DJGPP FAQ
<http://www.delorie.com/djgpp/v2faq/> . In there you will find ways
and means of dealing with your problem like using the
__attribute__((packed)) extensions etc.
Hope This Helped,
Kalum.
- Raw text -