title: Getting Virtual Memory Max Map Count in Linux C++
body: <p>How to get 'sysctl vm.max_map_count',  or the '/proc/sys/vm/max_map_count' using C++</p>
  
  <p>I do not want to open the /proc/sys file..
  Is there a <a href="http://man7.org/linux/man-pages/man2/sysctl.2.html" rel="nofollow noreferrer">http://man7.org/linux/man-pages/man2/sysctl.2.html</a> call to get the number ?</p>