/* Allocate a memory block from a mail and set memory block to zero.  */
void* osMailCAlloc(osMailQId queue_id, uint32_t millisec)
/* Allocate a memory block from a mail and set memory block to zero.  */
void* osMailCAlloc(osMailQId queue_id, uint32_t millisec)
{
    mem =   sysMailAlloc(queue_id, millisec, 1U);
  } else {
    mem = __sysMailAlloc(queue_id, millisec, 0U);
  }
  pool = *(((void **)queue_id) + 1);
  rt_clr_box(pool, mem);
  return mem;
}