/*
* Rule: INT31-C
* Source: wiki
* Status: PASS - Should NOT trigger INT31-C violation
* Description: memset with value in UCHAR range
*/
#include <string.h>
#include <stddef.h>
int *init_memory(int *array, size_t n) {
return memset(array, 0, n); /* Compliant: 0 is in range */
}