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>
Thu, 24 Feb 2022 17:56:46 +0000 (09:56 -0800)
commit17df4cafac0c49e63402a3b87a85bf4212028c4f
tree55eb3faa787b2dd5545ba1c505894072f90be912
parent9c9c8ab62b22d10fb7810f8bfb421298fdf2e03b
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]