AnsweredAssumed Answered

Is the memory buffer by malloc() word aligned?

Question asked by kv193 on Mar 17, 2016
Latest reply on Mar 22, 2016 by kv193

It's known, that memory accesses must be done according to memory alignment.

Im my application I allocate many big buffers for input signals and processing. How can I be sure that all buffers is word (4 byte) aligned?

Do standard function malloc() allocate aligned buffers?

Outcomes