linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Марк Коренберг" <socketpair-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: [patch] mmap2.2: add definition of mmap64
Date: Sat, 14 Nov 2009 21:38:00 +0500	[thread overview]
Message-ID: <b8f627e0911140838u968f244m85570d85ba906b3@mail.gmail.com> (raw)
In-Reply-To: <b8f627e0911102333x2cd4454ew33443b4c62e7d44d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 90 bytes --]

mmap64 in ubuntu is symlink to mmap2, but no actual definition of
mmap64 in man page (!).

[-- Attachment #2: z.patch --]
[-- Type: text/x-patch, Size: 480 bytes --]

--- mmap2.2.was	2008-12-06 08:55:24.000000000 +0500
+++ mmap2.2	2009-11-11 12:27:26.000000000 +0500
@@ -33,8 +33,12 @@
 .nf
 .B #include <sys/mman.h>
 .sp
+.B /* Linux syscall */
 .BI "void *mmap2(void *" addr ", size_t " length ", int " prot ,
 .BI "             int " flags ", int " fd ", off_t " pgoffset );
+.sp
+.BI "void *mmap64(void *" addr ", size_t " length ", int " prot ,
+.BI "             int " flags ", int " fd ", off64_t " byteoffset );
 .fi
 .SH DESCRIPTION
 The

       reply	other threads:[~2009-11-14 16:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <b8f627e0911102333x2cd4454ew33443b4c62e7d44d@mail.gmail.com>
     [not found] ` <b8f627e0911102333x2cd4454ew33443b4c62e7d44d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-14 16:38   ` Марк Коренберг [this message]
     [not found]     ` <20091114192902.GU3708@machine.or.cz>
     [not found]       ` <20091114192902.GU3708-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
2009-11-15 14:27         ` [patch] mmap2.2: add definition of mmap64 Марк Коренберг

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b8f627e0911140838u968f244m85570d85ba906b3@mail.gmail.com \
    --to=socketpair-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).