- Global arena_calloc (arena_t *, size_t c, size_t n, const char *, int)
- Some improvements are possible and planned:
- the C standard requires calloc() return a null pointer if it cannot allocates storage of the size
c
* n
in bytes, which allows no overflow in computing the multiplication. Overflow checking is necessary to mimic the behavior of calloc().
- Global arena_calloc (arena_t *, size_t c, size_t n, const char *, int)
- Some improvements are possible and planned:
- the C standard requires calloc() return a null pointer if it cannot allocates storage of the size
c
* n
in bytes, which allows no overflow in computing the multiplication. Overflow checking is necessary to mimic the behavior of calloc().