project_files/frontlib/util/util.h
changeset 7269 5b0aeef8ba2a
parent 7230 240620f46dd7
child 7275 15f722e0b96f
equal deleted inserted replaced
7267:710f3ced8934 7269:5b0aeef8ba2a
    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  *