Little update in printf comment (padding now does take num prefix into account)

This commit is contained in:
2025-07-20 23:39:54 +02:00
parent 8c25b7913b
commit d595ba1903
2 changed files with 2 additions and 3 deletions

View File

@@ -75,7 +75,6 @@ puts:
; %#{x} Use prefix for printed number (non-decimal). Supported specifiers: x, X, b, o. Works in combination with width specifier (see below)
; %[#]n* Pad left, n chars (maximum 64). Supported specifiers: d, i, u, x, X, b, o
; *[#]0n* Pad left with zeroes, n chars (maximum 64). Supported specifiers: d, i, u, x, X, b, o
; NOTE: Prefix not included in padding length, so %#8x for '0x12345678' becomes ' 0x12345678' (and '%#08x' => '0x0012345678')
; <!> Unsupported specifiers are printed as-is
; <!> For all specifiers (except %%) an argument is expected. Mismatch between arguments given and specifiers provided will lead to issues
;