strncmp
Default mainpageat91libutilitystrncmp
Description Source Call Graph
strncmp
Compare the first specified bytes of 2 given strings Return 0 if equals Return >0 if 1st string > 2nd string Return <0 if 1st string < 2nd string.
 
Syntax / parameters
int strncmp (const char *pString1, const char *pString2, size_t count)

Name Type Default Description
pString1 const char *
  Pointer to the start of the 1st string.
pString2 const char *
  Pointer to the start of the 2nd string.
count size_t
  Number of bytes that should be compared.
 
Return value int
   
Description
Compare the first specified bytes of 2 given strings Return 0 if equals Return >0 if 1st string > 2nd string Return <0 if 1st string < 2nd string.

 
Source
The documentation for this Member was generated from the following file:
  • string.c