Define RCSW_ZALLOC

Define Documentation

RCSW_ZALLOC

Declare that any allocated space, regardless of where it comes from, should be zeroed before use.

Applicable to all modules which do memory allocation via rcsw_alloc().

If dynamic memory allocation is allowed, this causes it to use calloc() instead of malloc(). It memory allocation is disallowed, then provided application-allocated memory will be zeroed via memset().