diff options
| author | 2022-02-07 17:23:33 +0100 | |
|---|---|---|
| committer | 2022-04-20 17:05:44 -0700 | |
| commit | 7e4346f4a3a611a6233ba388080c1426545da4fc (patch) | |
| tree | 45cea3f8e81daf181e88032ee899dafca9c37808 /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | tools/nolibc/stdio: add fwrite() to stdio (diff) | |
| download | linux-dev-7e4346f4a3a611a6233ba388080c1426545da4fc.tar.xz linux-dev-7e4346f4a3a611a6233ba388080c1426545da4fc.zip | |
tools/nolibc/stdio: add a minimal [vf]printf() implementation
This adds a minimal vfprintf() implementation as well as the commonly
used fprintf() and printf() that rely on it.
For now the function supports:
- formats: %s, %c, %u, %d, %x
- modifiers: %l and %ll
- unknown chars are considered as modifiers and are ignored
It is designed to remain minimalist, despite this printf() is 549 bytes
on x86_64. It would be wise not to add too many formats.
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
