Mercurial > hg > th-libs
comparison th_string.h @ 89:30690f5c4cae
Add new function th_strrcasecmp().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 17 May 2014 22:39:37 +0300 |
parents | b6f3486c4d6c |
children | 2b1f7f1ca8e4 |
comparison
equal
deleted
inserted
replaced
88:d3d3cd41a95a | 89:30690f5c4cae |
---|---|
45 char *th_strdup(const char *); | 45 char *th_strdup(const char *); |
46 char *th_strndup(const char *, const size_t); | 46 char *th_strndup(const char *, const size_t); |
47 | 47 |
48 int th_strcasecmp(const char *, const char *); | 48 int th_strcasecmp(const char *, const char *); |
49 int th_strncasecmp(const char *, const char *, size_t); | 49 int th_strncasecmp(const char *, const char *, size_t); |
50 char *th_strrcasecmp(char *str, const char *needle); | |
50 void th_strip_ctrlchars(char *); | 51 void th_strip_ctrlchars(char *); |
51 | 52 |
52 char *th_strdup_vprintf(const char *, va_list); | 53 char *th_strdup_vprintf(const char *, va_list); |
53 char *th_strdup_printf(const char *, ...); | 54 char *th_strdup_printf(const char *, ...); |
54 | 55 |