.\" 2007-07-10, mtk, Added an example program.
.\" 2008-11-18, mtk, document MAP_STACK
.\"
-.TH MMAP 2 2013-04-17 "Linux" "Linux Programmer's Manual"
+.TH MMAP 2 2014-01-05 "Linux" "Linux Programmer's Manual"
.SH NAME
mmap, munmap \- map or unmap files or devices into memory
.SH SYNOPSIS
.BR _GNU_SOURCE
also suffices,
and requiring that macro specifically would have been more logical,
-since these flags are all Linux specific.)
+since these flags are all Linux-specific.)
The relevant flags are:
.BR MAP_32BIT ,
.BR MAP_ANONYMOUS
pages of the file and then uses
.BR write (2)
to output the desired bytes.
+.SS Program source
.nf
-
#include <sys/mman.h>
#include <sys/stat.h>
#include <fcntl.h>