summaryrefslogtreecommitdiffstats
path: root/CRT.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-15 22:37:02 +0200
committerChristian Göttsche <cgzones@googlemail.com>2020-10-19 14:42:35 +0200
commit361877454fe56c95a995d5bdbb7eb70c21e39d62 (patch)
tree51f75a8ab66ece247dbbec3c673409028bdbec74 /CRT.h
parent0db398d4c3472071b2814505242450cd8f831501 (diff)
Cache PAGE_SIZE
man:sysconf(3) states: The values obtained from these functions are system configuration constants. They do not change during the lifetime of a process.
Diffstat (limited to 'CRT.h')
-rw-r--r--CRT.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/CRT.h b/CRT.h
index 83cb34e6..606492a4 100644
--- a/CRT.h
+++ b/CRT.h
@@ -149,6 +149,9 @@ extern const char* CRT_termType;
extern int CRT_colorScheme;
+extern long CRT_pageSize;
+extern long CRT_pageSizeKB;
+
#ifdef HAVE_SETUID_ENABLED
void CRT_dropPrivileges(void);

© 2014-2024 Faster IT GmbH | imprint | privacy policy