Mercurial > hg > th-libs
diff th_string.h @ 687:5a7254b78614
Add th_strchr().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 06 Mar 2020 14:26:45 +0200 |
parents | 527a4d29d384 |
children | d687bbb54c1a |
line wrap: on
line diff
--- a/th_string.h Fri Mar 06 00:16:30 2020 +0200 +++ b/th_string.h Fri Mar 06 14:26:45 2020 +0200 @@ -138,6 +138,7 @@ #endif +th_char_t *th_strchr(const th_char_t *str, const th_char_t ch); th_char_t *th_strdup(const th_char_t *src); th_char_t *th_strndup(const th_char_t *src, const size_t n); th_char_t *th_strdup_trim(const th_char_t *src, const int flags);