- <em>f_printf</em>(&fil, "%d", 1234); <span class="c">/* "1234" */</span>
- <em>f_printf</em>(&fil, "%6d,%3d%%", -200, 5); <span class="c">/* " -200, 5%" */</span>
- <em>f_printf</em>(&fil, "%ld", 12345L); <span class="c">/* "12345" */</span>
- <em>f_printf</em>(&fil, "%06d", 25); <span class="c">/* "000025" */</span>
- <em>f_printf</em>(&fil, "%06d", -25); <span class="c">/* "000-25" */</span>
- <em>f_printf</em>(&fil, "%*d", 5, 100); <span class="c">/* " 100" */</span>
- <em>f_printf</em>(&fil, "%-6d", 25); <span class="c">/* "25 " */</span>
- <em>f_printf</em>(&fil, "%u", -1); <span class="c">/* "65535" or "4294967295" */</span>
- <em>f_printf</em>(&fil, "%04x", 0xAB3); <span class="c">/* "0ab3" */</span>
- <em>f_printf</em>(&fil, "%08lX", 0x123ABCL); <span class="c">/* "00123ABC" */</span>
- <em>f_printf</em>(&fil, "%04o", 255); <span class="c">/* "0377" */</span>
- <em>f_printf</em>(&fil, "%016b", 0x550F); <span class="c">/* "0101010100001111" */</span>
- <em>f_printf</em>(&fil, "%s", "String"); <span class="c">/* "String" */</span>
- <em>f_printf</em>(&fil, "%8s", "abc"); <span class="c">/* " abc" */</span>
- <em>f_printf</em>(&fil, "%-8s", "abc"); <span class="c">/* "abc " */</span>
- <em>f_printf</em>(&fil, "%c", 'a'); <span class="c">/* "a" */</span>
- <em>f_printf</em>(&fil, "%f", 10.0); <span class="c">/* f_printf lacks floating point support */</span>
+ <em>f_printf</em>(fp, "%d", 1234); <span class="c">/* "1234" */</span>
+ <em>f_printf</em>(fp, "%6d,%3d%%", -200, 5); <span class="c">/* " -200, 5%" */</span>
+ <em>f_printf</em>(fp, "%-6u", 100); <span class="c">/* "100 " */</span>
+ <em>f_printf</em>(fp, "%ld", 12345678); <span class="c">/* "12345678" */</span>
+ <em>f_printf</em>(fp, "%llu", 0x100000000); <span class="c">/* "4294967296" (<a href="config.html#print_lli">FF_PRINT_LLI</a>) */</span>
+ <em>f_printf</em>(fp, "%lld", -1LL); <span class="c">/* "-1" (FF_PRINT_LLI) */</span>
+ <em>f_printf</em>(fp, "%04x", 0xA3); <span class="c">/* "00a3" */</span>
+ <em>f_printf</em>(fp, "%08lX", 0x123ABC); <span class="c">/* "00123ABC" */</span>
+ <em>f_printf</em>(fp, "%016b", 0x550F); <span class="c">/* "0101010100001111" */</span>
+ <em>f_printf</em>(fp, "%*d", 6, 100); <span class="c">/* " 100" */</span>
+ <em>f_printf</em>(fp, "%s", "abcdefg"); <span class="c">/* "abcdefg" */</span>
+ <em>f_printf</em>(fp, "%5s", "abc"); <span class="c">/* " abc" */</span>
+ <em>f_printf</em>(fp, "%-5s", "abc"); <span class="c">/* "abc " */</span>
+ <em>f_printf</em>(fp, "%.5s", "abcdefg"); <span class="c">/* "abcde" */</span>
+ <em>f_printf</em>(fp, "%-5.2s", "abcdefg"); <span class="c">/* "ab " */</span>
+ <em>f_printf</em>(fp, "%c", 'a'); <span class="c">/* "a" */</span>
+ <em>f_printf</em>(fp, "%12f", 10.0); <span class="c">/* " 10.000000" (<a href="config.html#print_fp">FF_PRINT_FLOAT</a>) */</span>
+ <em>f_printf</em>(fp, "%.4E", 123.45678); <span class="c">/* "1.2346E+02" (FF_PRINT_FLOAT) */</span>