mirror of
https://git.stationery.faith/corn/corn.git
synced 2024-11-09 23:22:08 +00:00
13 lines
470 B
C
13 lines
470 B
C
|
|
||
|
/**
|
||
|
* The strcmp() function compares the two strings s1 and s2. The locale is not taken into account
|
||
|
* (for a locale-aware comparison, see strcoll(3)). The comparison is done using unsigned characters.
|
||
|
*/
|
||
|
int strncmp(const char *s1, const char *s2, unsigned long n);
|
||
|
|
||
|
/**
|
||
|
* The memcmp() function compares the first n bytes (each interpreted as unsigned char) of the memory
|
||
|
* areas s1 and s2.
|
||
|
*/
|
||
|
int memcmp(const void *s1, const void *s2, unsigned long n);
|