2 #define _CRT_SECURE_NO_DEPRECATE
4 #include "wilc_oswrapper.h"
12 WILC_Sint32 WILC_memcmp(const void *pvArg1, const void *pvArg2, WILC_Uint32 u32Count)
14 return memcmp(pvArg1, pvArg2, u32Count);
23 void WILC_memcpy_INTERNAL(void *pvTarget, const void *pvSource, WILC_Uint32 u32Count)
25 memcpy(pvTarget, pvSource, u32Count);
33 void *WILC_memset(void *pvTarget, u8 u8SetValue, WILC_Uint32 u32Count)
35 return memset(pvTarget, u8SetValue, u32Count);
43 WILC_Char *WILC_strncpy(WILC_Char *pcTarget, const WILC_Char *pcSource,
46 return strncpy(pcTarget, pcSource, u32Count);
49 WILC_Sint32 WILC_strncmp(const WILC_Char *pcStr1, const WILC_Char *pcStr2,
52 WILC_Sint32 s32Result;
54 if (pcStr1 == NULL && pcStr2 == NULL) {
56 } else if (pcStr1 == NULL) {
58 } else if (pcStr2 == NULL) {
61 s32Result = strncmp(pcStr1, pcStr2, u32Count);
64 } else if (s32Result > 0) {
77 WILC_Uint32 WILC_strlen(const WILC_Char *pcStr)
79 return (WILC_Uint32)strlen(pcStr);