56 return memset(s, c, n);
72 return memcpy(dst, src, count);
86 return strncpy(dst, src, len);
94 SM_DBG1((
"%s - smhexdump(len=%d):\n", ptitle, (
int)len));
100 for (i = 0; i < len; )
104 SM_DBG1((
" 0x%02x, 0x%02x, 0x%02x, 0x%02x,\n", pbuf[i], pbuf[i+1], pbuf[i+2], pbuf[i+3]));
109 SM_DBG1((
" 0x%02x,", pbuf[i]));
The file defines the constants, data structure, and functions defined by LL API.
The file defines the declaration of tSDK APIs.
The file defines the declaration of OS APIs.
osGLOBAL void smhexdump(const char *ptitle, bit8 *pbuf, size_t len)
osGLOBAL char * sm_strncpy(char *dst, const char *src, bit32 len)
FORCEINLINE void * sm_memset(void *s, int c, bit32 n)
FORCEINLINE void * sm_memcpy(void *dst, const void *src, bit32 count)