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, 21 Apr 2022 00:05:44 +0000 (17:05 -0700)
commite3e19052d54db8d492b8f82f8516139469bad5d3
tree1464cdff3ef3df4dcd5b7d117cc4e7b30fadea55
parent99b037cbd5a22e34202d32aad15bcfa1c06d1d80
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