comparison th_string.h @ 79:e36df57c5b0f

Use th_strdup() again.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 24 Dec 2008 16:03:53 +0200
parents 4e3616709752
children 69aed051f84d
comparison
equal deleted inserted replaced
78:745f670068dc 79:e36df57c5b0f
46 char *th_strncpy(char *, const char *, size_t); 46 char *th_strncpy(char *, const char *, size_t);
47 int th_strcasecmp(char *, char *); 47 int th_strcasecmp(char *, char *);
48 int th_strncasecmp(char *, char *, size_t); 48 int th_strncasecmp(char *, char *, size_t);
49 void th_strip_ctrlchars(char *); 49 void th_strip_ctrlchars(char *);
50 50
51 int th_pstrcpy(char **, char *); 51 char *th_strdup(const char *);
52 int th_pstrcat(char **, char *); 52 int th_pstrcpy(char **, char *);
53 int th_pstrcat(char **, char *);
53 54
54 char *th_findnext(char *, size_t *); 55 char *th_findnext(char *, size_t *);
55 char *th_findsep(char *, size_t *, char); 56 char *th_findsep(char *, size_t *, char);
56 char *th_findseporspace(char *, size_t *, char); 57 char *th_findseporspace(char *, size_t *, char);
57 58