osMailCAlloc() function
Allocate a memory block from a mail and set memory block to zero
Arguments
queue_id
mail queue ID obtained with osMailCreate.
millisec
timeout value or 0 in case of no time-out.
Return value
pointer to memory block that can be filled with mail or NULL in case error.
Notes
MUST REMAIN UNCHANGED: \b osMailCAlloc shall be consistent in every CMSIS-RTOS.