summaryrefslogtreecommitdiffstats
path: root/base/sys_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/sys_info.h')
-rw-r--r--base/sys_info.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/sys_info.h b/base/sys_info.h
index 581720d..5469da54 100644
--- a/base/sys_info.h
+++ b/base/sys_info.h
@@ -65,6 +65,11 @@ class SysInfo {
// allocate.
static size_t VMAllocationGranularity();
+#if defined(OS_LINUX)
+ // Returns the maximum SysV shared memory segment size.
+ static size_t MaxSharedMemorySize();
+#endif
+
#if defined(OS_CHROMEOS)
// Returns the name of the version entry we wish to look up in the
// Linux Standard Base release information file.