summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-12-28 00:14:45 -0800
committerAndreas Kling <kling@serenityos.org>2021-12-28 11:00:51 +0100
commit904ea569566e220302800937edd352fa252fd4d3 (patch)
treee730d84927994f1d479be3a8e6327126d8d0c3f3
parent4fdff1ba632be8d2ae81563578f1b998d6dc28c5 (diff)
downloadserenity-904ea569566e220302800937edd352fa252fd4d3.zip
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. :^)
-rw-r--r--Kernel/API/POSIX/unistd.h2
1 files changed, 2 insertions, 0 deletions
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
}