Mercurial > hg > dmlib
changeset 817:e574764ae065
Add comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 16 May 2014 20:07:00 +0300 |
parents | 091461e0213f |
children | a6452b575c63 |
files | src/dmstring.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dmstring.c Fri May 16 17:05:41 2014 +0300 +++ b/src/dmstring.c Fri May 16 20:07:00 2014 +0300 @@ -42,6 +42,10 @@ } +/* Check if end of the given string str matches needle + * case-insensitively, return pointer to start of the match, + * if found, NULL otherwise. + */ char *dm_strrcasecmp(char *str, const char *needle) { if (str == NULL || needle == NULL)