diff options
Diffstat (limited to 'contrib/syslinux-4.02/core/strcasecmp.c')
-rw-r--r-- | contrib/syslinux-4.02/core/strcasecmp.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/syslinux-4.02/core/strcasecmp.c b/contrib/syslinux-4.02/core/strcasecmp.c new file mode 100644 index 0000000..2f7480d --- /dev/null +++ b/contrib/syslinux-4.02/core/strcasecmp.c @@ -0,0 +1,11 @@ +/* + * strcasecmp.c + */ + +#include <string.h> +#include <ctype.h> + +int strcasecmp(const char *s1, const char *s2) +{ + return strncasecmp(s1, s2, -1); +} |