summaryrefslogtreecommitdiffstats
path: root/upstream/archlinux/man2/mmap.2
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/archlinux/man2/mmap.2')
-rw-r--r--upstream/archlinux/man2/mmap.23
1 files changed, 2 insertions, 1 deletions
diff --git a/upstream/archlinux/man2/mmap.2 b/upstream/archlinux/man2/mmap.2
index 1e6d881b..5c88feb3 100644
--- a/upstream/archlinux/man2/mmap.2
+++ b/upstream/archlinux/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.06"
+.TH mmap 2 2024-05-02 "Linux man-pages 6.8"
.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