[BACK]Return to test-mmap.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/test-mmap.c between version 1.3 and 1.6

version 1.3, 2013/06/02 03:52:21 version 1.6, 2015/10/06 18:32:20
Line 1 
Line 1 
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/mman.h>  #include <sys/mman.h>
   #include <stddef.h>
   
 int  int
 main(int argc, char **argv)  main(void)
 {  {
           return mmap(NULL, 1, PROT_READ, MAP_SHARED, -1, 0) != MAP_FAILED;
         mmap(0, 0, PROT_READ, MAP_SHARED, -1, 0);  
         return 0;  
 }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

CVSweb