diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-15 22:37:02 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-10-19 14:42:35 +0200 |
commit | 361877454fe56c95a995d5bdbb7eb70c21e39d62 (patch) | |
tree | 51f75a8ab66ece247dbbec3c673409028bdbec74 /CRT.h | |
parent | 0db398d4c3472071b2814505242450cd8f831501 (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |