comparison th_string.h @ 8:acc2a8035dd5

Re-add th_strdup().
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 24 Dec 2008 16:03:04 +0200
parents 41885619fc79
children a25f5d22483e
comparison
equal deleted inserted replaced
7:41885619fc79 8:acc2a8035dd5
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