Module fmt
String formatting Safe snprintf-based builders that write into caller-supplied buffers.
Functions
| fmt_int | |
| fmt_uint | |
| fmt_float | |
| fmt_hex | |
| fmt_hex_upper | |
| fmt_bool | |
| fmt_str | Copy src into dst (at most dst.len-1 bytes), NUL-terminate. Returns number of characters copied. |
| fmt_append | Concatenate src onto dst (treats dst as a NUL-terminated string). Returns total length after append, or -1 if dst.len was exceeded. |