Mail Archives: djgpp/1997/07/22/13:28:02
On Mon, 21 Jul 1997, Jeff Weeks wrote:
> I think the subject is self explanatory :)
>
> I'd like to know if DJGPP will dword align memory allocations. Can I be
> sure that if I allocate memory that it'll be aligned on a dword
> boundary?
>
That depends on what you call a dword. DJGPP memory allocations (ie
malloc) is alligned on 4byte address boundaries, so if you mean a double
16bit PC compiler word, yes. However, if by dword you mean a double 32bit
DJGPP word, no.
Art S. Kagel, kagel AT bloomberg DOT com
- Raw text -