tools/nolibc/unistd: extract msleep(), sleep(), tcsetpgrp() to unistd.h
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Feb 2022 16:23:49 +0000 (17:23 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 14 Feb 2022 18:48:55 +0000 (10:48 -0800)
commite70638de6c6e00b0e99d09836cef015daee5a309
tree74db284efe719257bf900a3d7b82b5130ec75203
parent4ff3db90501bfc390951bda25bc0db4ca8f7eeb8
tools/nolibc/unistd: extract msleep(), sleep(), tcsetpgrp() to unistd.h

These functions are normally provided by unistd.h. For ease of porting,
let's create the file and move them there.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/nolibc.h
tools/include/nolibc/stdlib.h
tools/include/nolibc/unistd.h [new file with mode: 0644]