delorie.com/djgpp/doc/libc/libc_766.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <string.h> int strncasecmp(const char *s1, const char *s2, size_t max); |
This function compares s1 and s2, ignoring case, up to a maximum of max characters.
Zero if the strings are equal, a positive number if s1 comes after s2 in the ASCII collating sequense, else a negative number.
ANSI/ISO C | No |
POSIX | No |
if (strncasecmp(foo, "-i", 2) == 0) do_include(); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |