core.stdc.stdlib.malloc & alignment

captaindet via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 28 19:48:04 PDT 2016


On 2016-06-29 14:39, Hiemlick Hiemlicker wrote:
> Yes, the C standard requires malloc to be aligned to the platform size(4
> for 32bit, 8 for 64-bit).

just what i was hopping for. thanks!


More information about the Digitalmars-d-learn mailing list