title: What is the header file for Legacy_MAP_MASK in mmap( )
body: <p>I want to know the header file which contains the LEGACY_MAP_MASK  in mmap( ), and also the bits of all the flags in the LEGACY_MAP_MASK. I searched a lot but was unable to find it. Thanks:).</p>
  <p>I included the header file #inlcude&lt;sys/mman.h&gt; and I tried to assign, like
  unsigned long map = LEGACY_MAP_MASK. But it throws the error ‘LEGACY_MAP_MASK’ undeclared (first use in this function).</p>