[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH v2 1/2] lib/nolibc: Add _SC_NPROCESSORS_ONLN define
From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx> Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx> --- lib/nolibc/include/unistd.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/nolibc/include/unistd.h b/lib/nolibc/include/unistd.h index 34dc1f8d..e9b4f348 100644 --- a/lib/nolibc/include/unistd.h +++ b/lib/nolibc/include/unistd.h @@ -46,6 +46,12 @@ extern "C" { #define __NEED_size_t #define __NEED_ssize_t #define __NEED_off_t + +/* + * Sysconf name values + */ +#define _SC_NPROCESSORS_ONLN 10 + #include <nolibc-internal/shareddefs.h> unsigned int sleep(unsigned int seconds); -- 2.21.0 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |