/*------------------------------------------------------------------ * test_memset32_s * * *= *------------------------------------------------------------------ */ #include "test_private.h" #include "safe_mem_lib.h" #define LEN ( 256 ) int test_memset32_s() { errno_t rc; uint32_t len; uint32_t i; uint32_t value; uint32_t mem1[LEN]; /*--------------------------------------------------*/ value = 34; rc = memset32_s(NULL, LEN, value); if (rc != ESNULLP) { debug_printf("%s %u Error rc=%u \n", __FUNCTION__, __LINE__, rc); } /*--------------------------------------------------*/ for (i=0; i