syedshan
Advanced Member level 1
- Joined
- Feb 27, 2012
- Messages
- 463
- Helped
- 27
- Reputation
- 54
- Reaction score
- 26
- Trophy points
- 1,308
- Location
- Jeonju, South Korea
- Activity points
- 5,134
Hello every one
can any one explain what does alignment means when we are using dynamic memory allocation related functions, like
_alligned_maloc()
for example : while searching for posix_memalign() function I get to know
url: https://pubs.opengroup.org/onlinepubs/009604499/functions/posix_memalign.html
can any one explain what does alignment means when we are using dynamic memory allocation related functions, like
_alligned_maloc()
for example : while searching for posix_memalign() function I get to know
Upon successful completion, the value pointed to by memptr shall be a multiple of alignment.
url: https://pubs.opengroup.org/onlinepubs/009604499/functions/posix_memalign.html