tools/nolibc/stdio: add fwrite() to stdio
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Feb 2022 16:23:32 +0000 (17:23 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 14 Feb 2022 18:48:53 +0000 (10:48 -0800)
commit31b9615ae94d1c52849699854ca015ee3c47c7c6
tree13485a79387d5f13c0939940c237a173930cbeea
parent2709b000119ed559da7137322ab2b96fc06a4f01
tools/nolibc/stdio: add fwrite() to stdio

We'll use it to write substrings. It relies on a simpler _fwrite() that
only takes one size. fputs() was also modified to rely on it.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/stdio.h