aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2/mmap.2
diff options
context:
space:
mode:
Diffstat (limited to 'man/man2/mmap.2')
-rw-r--r--man/man2/mmap.26
1 files changed, 4 insertions, 2 deletions
diff --git a/man/man2/mmap.2 b/man/man2/mmap.2
index f07d917fe3..816bbfbacd 100644
--- a/man/man2/mmap.2
+++ b/man/man2/mmap.2
@@ -28,10 +28,12 @@ Standard C library
.nf
.B #include <sys/mman.h>
.P
-.BI "void *mmap(void " addr [. length "], size_t " length \
+.BI "void *mmap(size_t " length ;
+.BI " void " addr [ length "], size_t " length \
", int " prot ", int " flags ,
.BI " int " fd ", off_t " offset );
-.BI "int munmap(void " addr [. length "], size_t " length );
+.BI "int munmap(size_t " length ;
+.BI " void " addr [ length "], size_t " length );
.fi
.P
See VERSIONS for information on feature test macro requirements.