Hello.
I use K60 MCU with MQX.
I wonder what is the difference between _mem_alloc() and _mem_alloc_zero()..
Ask for answers.
Thanks.
Have a good day~.
Solved! Go to Solution.
The zero function fills the allocated space with zeros... akin to doing a memset. Without it you get the space but it isn't initialized.
The zero function fills the allocated space with zeros... akin to doing a memset. Without it you get the space but it isn't initialized.