81     for ( ; u16Len > 0; pcS1++, pcS2++, --u16Len)
    83             return ((*(
uint8 *)pcS1 < *(
uint8 *)pcS2) ? -1 : +1);
    84         else if (*pcS1 == 
'\0')
   100         return (
uint8 *) pcIn;  
   110         } 
while (u8Sc != u8c);
   111     } 
while (
m2m_strncmp(pcIn, pcStr, u16StrLen) != 0);
   113     return (
uint8 *) (pcIn - 1);
   120         for(i    = 0 ; i < u32Size ; i++)
   122                 if(pu8Buff1[i] != pu8Buff2[i])
 void m2m_memcpy(uint8 *pDst, uint8 *pSrc, uint32 sz)
Copy specified number of bytes from source buffer to destination buffer. 
 
This module contains common APIs declarations. 
 
signed char sint8
Range of values between -128 to 127. 
 
sint8 m2m_memcmp(uint8 *pu8Buff1, uint8 *pu8Buff2, uint32 u32Size)
Compare specified number of data bytes in pu8Buff1 and pu8Buff2 and decide if they all match...
 
uint8 * m2m_strstr(uint8 *pcIn, uint8 *pcStr)
Find the occurrence of pcStr string in pcIn string. 
 
unsigned short uint16
Range of values between 0 to 65535. 
 
void m2m_memset(uint8 *pBuf, uint8 val, uint32 sz)
Set specified number of data bytes in specified data buffer to specified value. 
 
uint16 m2m_strlen(uint8 *pcStr)
Returns the string length of a null terminated string buffer. 
 
unsigned long uint32
Range of values between 0 to 4294967295. 
 
unsigned char uint8
Range of values between 0 to 255. 
 
uint8 m2m_checksum(uint8 *buf, int sz)
calculates checksum for the specified number of data bytes in specified data buffer ...
 
uint8 m2m_strncmp(uint8 *pcS1, uint8 *pcS2, uint16 u16Len)
Compare specified number of data bytes in string buffers pcS1 and pcS2.