|
|
Copyright 1991 David Jurgens |
int strncmp( const char *str1, const char *str2, size_t maxlen )
- prototype in string.h
- compares str1 to str2 up to maxlen characters
- returns < 0 if str1 < str2
= 0 if str1 = str2
> 0 if str1 > str2
using a signed comparison
|
|
Esc or Alt-X to exit |
strncmp |
Home/PgUp/PgDn/End ←↑↓→ |