--- a/docs/Writerside/topics/printf.h.md Wed Dec 31 15:25:30 2025 +0100 +++ b/docs/Writerside/topics/printf.h.md Wed Dec 31 16:01:08 2025 +0100 @@ -53,8 +53,8 @@ const char *fmt, va_list ap); ``` -The `cx_asprintf()` and `cx_asprintf_a()` functions print the formatted output directly to a freshly allocated -string which is then returned from the function. +The `cx_asprintf()` and `cx_asprintf_a()` functions print the formatted output directly to a freshly allocated string, +which is then returned from the function. On platforms (or when using allocators) where allocation can fail, the returned string may be empty and the `ptr` field set to `NULL`. @@ -122,7 +122,7 @@ All functions that allocate internal temporary memory use small buffer optimization to avoid a heap allocation if the expected string length is smaller than `cx_printf_sbo_size`. -This size cannot be changed at runtime, but modified by defining the `CX_PRINTF_SBO_SIZE` macro when [building](install.md#small-buffer-optimizations) the library. +This size cannot be changed at runtime but modified by defining the `CX_PRINTF_SBO_SIZE` macro when [building](install.md#small-buffer-optimizations) the library. <seealso> <category ref="apidoc">