From 904ea569566e220302800937edd352fa252fd4d3 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Tue, 28 Dec 2021 00:14:45 -0800 Subject: [PATCH] Kernel: Add _SC_MAPPED_FILES sysconf API This is mandated by POSIX, it's fine that we don't actually implement it, just as long as it's present during compilation. :^) --- Kernel/API/POSIX/unistd.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kernel/API/POSIX/unistd.h b/Kernel/API/POSIX/unistd.h index 1058ea75ef..30bbb6ffc9 100644 --- a/Kernel/API/POSIX/unistd.h +++ b/Kernel/API/POSIX/unistd.h @@ -39,6 +39,7 @@ enum { _SC_GETPW_R_SIZE_MAX, _SC_CLK_TCK, _SC_SYMLOOP_MAX, + _SC_MAPPED_FILES, }; #define _SC_MONOTONIC_CLOCK _SC_MONOTONIC_CLOCK @@ -51,6 +52,7 @@ enum { #define _SC_GETPW_R_SIZE_MAX _SC_GETPW_R_SIZE_MAX #define _SC_CLK_TCK _SC_CLK_TCK #define _SC_SYMLOOP_MAX _SC_SYMLOOP_MAX +#define _SC_MAPPED_FILES _SC_MAPPED_FILES #ifdef __cplusplus }