--- a/docs/Writerside/topics/string.h.md Thu May 15 15:43:30 2025 +0200 +++ b/docs/Writerside/topics/string.h.md Thu May 15 16:02:54 2025 +0200 @@ -59,7 +59,7 @@ The function `cx_strdup_a()` allocates new memory with the given `allocator` and copies the given `string` and guarantees that the result string is zero-terminated. -The function `cx_strdup()` is equivalent to `cx_strdup_a()`, except that it uses the default stdlib allocator. +The function `cx_strdup()` is equivalent to `cx_strdup_a()`, except that it uses the [default allocator](allocator.h.md#default-allocator). The functions `cx_strcpy_a()` and `cx_strcpy()` copy the contents of the `source` string to the `dest` string, and also guarantee zero-termination of the resulting string. @@ -132,7 +132,7 @@ The `cx_strcat_a()` function takes `count` UCX strings, allocates memory for a concatenation of those strings _with a single allocation_, and copies the contents of the strings to the new memory. -`cx_strcat()` is equivalent, except that is uses the default stdlib allocator. +`cx_strcat()` is equivalent, except that it uses the [default allocator](allocator.h.md#default-allocator). The `cx_strcat_ma()` and `cx_strcat_m()` append the `count` strings to the specified string `str` and, instead of allocating new memory, reallocate the existing memory in `str`.