/* The allocated memory is filled with bytes of value zero. */
void* mem_calloc(mem_size_t count, mem_size_t size)
/* The allocated memory is filled with bytes of value zero. */
void* mem_calloc(mem_size_t count, mem_size_t size)
{
  void *p;
  p = mem_malloc(count * size);
  if (p) {
    memset(p, 0, count * size);
  }
  return p;
}