Add some comments.

This commit is contained in:
Christopher Faylor 2000-07-02 02:03:50 +00:00
parent fdc7052b0f
commit c570d680fb
1 changed files with 2 additions and 0 deletions

View File

@ -2747,6 +2747,7 @@ cygwin_split_path (const char *path, char *dir, char *file)
(x != CHXOR || !isalpha (ch1))); \ (x != CHXOR || !isalpha (ch1))); \
}) })
/* Return TRUE if two strings match up to length n */
int __stdcall int __stdcall
strncasematch (const char *s1, const char *s2, size_t n) strncasematch (const char *s1, const char *s2, size_t n)
{ {
@ -2763,6 +2764,7 @@ strncasematch (const char *s1, const char *s2, size_t n)
return !n || *s2 == '\0'; return !n || *s2 == '\0';
} }
/* Return TRUE if two strings match */
int __stdcall int __stdcall
strcasematch (const char *s1, const char *s2) strcasematch (const char *s1, const char *s2)
{ {