summaryrefslogtreecommitdiffstats
path: root/man/man2/mmap.2
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man/man2/mmap.2 (renamed from man2/mmap.2)3
1 files changed, 2 insertions, 1 deletions
diff --git a/man2/mmap.2 b/man/man2/mmap.2
index 300eb2b..7af0de2 100644
--- a/man2/mmap.2
+++ b/man/man2/mmap.2
@@ -18,7 +18,7 @@
.\" 2007-07-10, mtk, Added an example program.
.\" 2008-11-18, mtk, document MAP_STACK
.\"
-.TH mmap 2 2023-10-31 "Linux man-pages 6.7"
+.TH mmap 2 2024-05-02 "Linux man-pages (unreleased)"
.SH NAME
mmap, munmap \- map or unmap files or devices into memory
.SH LIBRARY
@@ -940,6 +940,7 @@ to output the desired bytes.
#include <stdlib.h>
#include <sys/mman.h>
#include <sys/stat.h>
+#include <sys/types.h>
#include <unistd.h>
\&
#define handle_error(msg) \e