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>
Thu, 24 Feb 2022 17:56:45 +0000 (09:56 -0800)
commit8b9b08843e8721abdc83bf4445d26bdafbc36bf2
tree7ddc36b4871dec5f34b3301ebd127740aa196eb0
parentf8c7a4c175e6736c4cc99c9b9780c7baf306acca
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