tools/nolibc: implement fd-based FILE streams
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 2 Apr 2023 18:48:05 +0000 (20:48 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 9 Jun 2023 18:33:05 +0000 (11:33 -0700)
commit5df28c153dade7920fce3998d4c7b1a60db5ae79
tree3805398a9f9427a7fa70ab5257ba53bf856a2a36
parente8842cf04ee0e746a42e4a21b9a3a6a1327596cf
tools/nolibc: implement fd-based FILE streams

This enables the usage of the stream APIs with arbitrary filedescriptors.

It will be used by a future testcase.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/stdio.h