[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Alignment of objects returned by malloc() and operator new()
- Date: Fri, 07 Dec 2007 15:35:14 -0500
- From: rsg at alum.mit.edu (Robert S. Grimes)
- Subject: Alignment of objects returned by malloc() and operator new()
Quick questions
1. What are the alignment characteristics of memory returned by malloc()?
2. What about operator new()?
I need to allocate memory for the Partition Manager, which wants it
allocated on a 4-byte boundary - need I do anything special?
Thanks!
-Bob