equal
deleted
inserted
replaced
15 |
15 |
16 /** |
16 /** |
17 * Exactly as flib_asprintf, but accepts a va_list. |
17 * Exactly as flib_asprintf, but accepts a va_list. |
18 */ |
18 */ |
19 char *flib_vasprintf(const char *fmt, va_list args); |
19 char *flib_vasprintf(const char *fmt, va_list args); |
|
20 |
|
21 /** |
|
22 * Creates a new string (that must be freed) containing all parts |
|
23 * joined together, with the specified delimiter between each. |
|
24 */ |
|
25 char *flib_join(char **parts, int partCount, const char *delimiter); |
20 |
26 |
21 /** |
27 /** |
22 * Return a duplicate of the provided string, or NULL if an error |
28 * Return a duplicate of the provided string, or NULL if an error |
23 * occurs or if str is already NULL. |
29 * occurs or if str is already NULL. |
24 * |
30 * |