-
Notifications
You must be signed in to change notification settings - Fork 2
Strcmp
anatol edited this page Jul 13, 2021
·
1 revision
int32_t Strcmp(const char* sz1 , const char* sz2);
Equivalent of standard strcmp
. Compares two null-terminated byte strings lexicographically.
-
sz1
: pointers to the first null-terminated byte string to compare -
sz2
: pointers to the second null-terminated byte string to compare
- Negative value if
sz1
appears beforesz2
in lexicographical order. - Zero if
sz1
andsz2
compare equal. - Positive value if
sz1
appears aftersz2
in lexicographical order.
- none