docs/Writerside/topics/printf.h.md

Sat, 25 Jan 2025 13:44:24 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 25 Jan 2025 13:44:24 +0100
branch
docs/3.1
changeset 1146
151c057faf7c
parent 1143
0559812df10c
permissions
-rw-r--r--

add marker to every incomplete page

relates to #451

# Formatting

<warning>
Outdated - Rewrite!
</warning>

In this utility header you can find `printf()`-like functions that can write the formatted output to an arbitrary
stream (or UCX buffer, resp.), or to memory allocated by an allocator within a single function call.
With the help of these convenience functions, you do not need to `snprintf` your string to a temporary buffer anymore,
plus you do not need to worry about too small buffer sizes, because the functions will automatically allocate enough
memory to contain the entire formatted string.

## Undocumented Symbols (TODO)
### cx_asprintf_a
### cx_fprintf
### cx_printf_sbo_size
### cx_sprintf_a
### cx_sprintf_sa
### cx_vasprintf_a
### cx_vfprintf
### cx_vsprintf_a
### cx_vsprintf_sa

mercurial