delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/08/15:00:09

Xref: news2.mv.net comp.os.msdos.djgpp:3578
From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Structure size
Date: 8 May 1996 14:13:13 GMT
Organization: Cornell University
Lines: 10
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <4mqa5p$8i7@newsstand.cit.cornell.edu>
References: <3190895C DOT 41C6 AT tc0 DOT chem DOT tue DOT nl>
NNTP-Posting-Host: 128
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>The MSC compiled program tells me sizeof(struct header)=98 and the DJGPP
>compiled program tells me sizeof(struct header)=100.... Can someone help
>me out on this one ????
>-
>
It's probably because the DJGPP structures are aligned on 4-byte boundaries.

Sinan.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019