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, 21 Apr 2022 00:05:45 +0000 (17:05 -0700)
commit4619de344657c23101e8976b816466910dfb2759
tree0d0efac32dd6ede1afb5e5c7fe42e458760abc2d
parent45a794bf7cee2988278802aeb64f7fc075f45f7f
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]