ucx/string.h

changeset 180
2185f19dcc45
parent 179
ee25d79a4187
child 183
6a694f8f0084
     1.1 --- a/ucx/string.h	Mon Jul 14 12:45:48 2014 +0200
     1.2 +++ b/ucx/string.h	Mon Jul 14 13:51:02 2014 +0200
     1.3 @@ -120,6 +120,17 @@
     1.4  size_t sstrnlen(size_t count, sstr_t string, ...);
     1.5  
     1.6  /**
     1.7 + * Concatenates strings.
     1.8 + *
     1.9 + * @param count   the total number of strings to concatenate
    1.10 + * @param ...     all strings
    1.11 + * @return the concatenated string
    1.12 + */
    1.13 +sstr_t sstrcat(size_t count, sstr_t s1, sstr_t s2, ...);
    1.14 +sstr_t sstrcat_a(UcxAllocator *a, size_t count, sstr_t s1, sstr_t s2, ...);
    1.15 +
    1.16 +
    1.17 +/**
    1.18   * Returns a substring starting at the specified location.
    1.19   * 
    1.20   * <b>Attention:</b> the new string references the same memory area as the

mercurial