diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:03 +0000 |
commit | 932e4432596447eb9331cc2a2bb74a26a35b4efc (patch) | |
tree | 95161711ea07fd64f0c82d6e7943024c033dd5a8 /upstream/opensuse-tumbleweed/man2/mmap2.2 | |
parent | Adding debian version 4.22.0-1. (diff) | |
download | manpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.tar.xz manpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.zip |
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/opensuse-tumbleweed/man2/mmap2.2')
-rw-r--r-- | upstream/opensuse-tumbleweed/man2/mmap2.2 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/upstream/opensuse-tumbleweed/man2/mmap2.2 b/upstream/opensuse-tumbleweed/man2/mmap2.2 index e1704e39..c6a2ad69 100644 --- a/upstream/opensuse-tumbleweed/man2/mmap2.2 +++ b/upstream/opensuse-tumbleweed/man2/mmap2.2 @@ -6,7 +6,7 @@ .\" Added description of mmap2 .\" Modified, 2004-11-25, mtk -- removed stray #endif in prototype .\" -.TH mmap2 2 2023-03-30 "Linux man-pages 6.05.01" +.TH mmap2 2 2024-05-02 "Linux man-pages (unreleased)" .SH NAME mmap2 \- map files or devices into memory .SH LIBRARY @@ -17,7 +17,7 @@ Standard C library .BR "#include <sys/mman.h>" " /* Definition of " MAP_* " and " PROT_* " constants */" .BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */" .B #include <unistd.h> -.PP +.P .BI "void *syscall(SYS_mmap2, unsigned long " addr ", unsigned long " length , .BI " unsigned long " prot ", unsigned long " flags , .BI " unsigned long " fd ", unsigned long " pgoffset ); @@ -26,7 +26,7 @@ Standard C library This is probably not the system call that you are interested in; instead, see .BR mmap (2), which describes the glibc wrapper function that invokes this system call. -.PP +.P The .BR mmap2 () system call provides the same interface as @@ -53,7 +53,7 @@ Problem with getting the data from user space. (Various platforms where the page size is not 4096 bytes.) .I "offset\ *\ 4096" is not a multiple of the system page size. -.PP +.P .BR mmap2 () can also return any of the errors described in .BR mmap (2). @@ -64,9 +64,9 @@ the glibc wrapper function invokes this system call rather than the .BR mmap (2) system call. -.PP +.P This system call does not exist on x86-64. -.PP +.P On ia64, the unit for .I offset is actually the system page size, rather than 4096 bytes. |