1 |
/* Case-insensitive string comparison functions. |
/* Case-insensitive string comparison functions. |
2 |
Copyright (C) 1995-1996, 2001, 2003 Free Software Foundation, Inc. |
Copyright (C) 1995-1996, 2001, 2003, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
5 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
29 |
/* Compare strings S1 and S2, ignoring case, returning less than, equal to or |
/* Compare strings S1 and S2, ignoring case, returning less than, equal to or |
30 |
greater than zero if S1 is lexicographically less than, equal to or greater |
greater than zero if S1 is lexicographically less than, equal to or greater |
31 |
than S2. |
than S2. |
32 |
Note: This function does not work correctly in multibyte locales. */ |
Note: This function may, in multibyte locales, return 0 for strings of |
33 |
|
different lengths! */ |
34 |
extern int strcasecmp (const char *s1, const char *s2); |
extern int strcasecmp (const char *s1, const char *s2); |
35 |
|
|
36 |
/* Compare no more than N characters of strings S1 and S2, ignoring case, |
/* Compare no more than N characters of strings S1 and S2, ignoring case, |