diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2004-12-10 09:03:08 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2004-12-10 09:03:08 +0000 |
| commit | 527d993350663e975dab0d0cb0ceed1947bf9fe2 (patch) | |
| tree | 3237c0164ebe78ed1bbf8fc481ab0640530cb7c2 /man2/mmap2.2 | |
| parent | 25743dd7044d67ff8f2a29e0ed62f20c9d705e87 (diff) | |
| download | man-pages-527d993350663e975dab0d0cb0ceed1947bf9fe2.tar.gz | |
After a note from Vasya Pupkin, I added <errno.h> to the SYNOPSIS
of several Section 2 pages using the _syscallN() macros.
In addition:
-- erroneous semicolons at the end of _syscallN() were removed
on various pages.
-- types such as "uint" in syscalN() declarations were changed
to "unsigined int", etc.
-- various other minor breakages in the synopses were fixed.
Diffstat (limited to 'man2/mmap2.2')
| -rw-r--r-- | man2/mmap2.2 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/man2/mmap2.2 b/man2/mmap2.2 index 690471b901..cd032cde51 100644 --- a/man2/mmap2.2 +++ b/man2/mmap2.2 @@ -33,9 +33,11 @@ mmap2 \- map files or devices into memory .B #include <sys/mman.h> .br .B #include <syscall.h> +.br +.B #include <errno.h> .sp -.BI "_syscall6(void *, " start ", size_t, " length ", int, " prot , -.BI "int, " flags ", int, " fd ", off_t, " pgoffset ) +.BI "_syscall6(void *, " mmap2 ", void *, " start ", size_t, " length , +.BI "int, " prot ", int, " flags ", int, " fd ", off_t, " pgoffset ) .sp .BI "void * mmap2(void *" start ", size_t " length ", int " prot , .BI "int " flags ", int " fd ", off_t " pgoffset ); |
