From: "Alejandro Colomar (man-pages)" <alx.manpages@gmail.com>
To: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
Cc: linux-man <linux-man@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: outb.2: What to do with prototypes?
Date: Thu, 4 Feb 2021 14:24:47 +0100 [thread overview]
Message-ID: <81b3d032-b862-f255-1e58-2c319772713f@gmail.com> (raw)
In-Reply-To: <6336a172-6bc5-bad8-21a4-0309a83728e7@gmail.com>
On 2/4/21 1:59 PM, Alejandro Colomar (man-pages) wrote:
> Hi Michael,
>
> What would you do with the prototypes in outb.2?
> They are different in glibc and the kernel.
> However, since these are functions to be called mostly withing the
> kernel, the kernel prototype is more important. Would you use the glibc
> one in SYNOPSIS, and then a C library / kernel differences with the
> kernel prototypes?
>
> Thanks,
>
> Alex
>
BTW, the declarations of those functions in the kernel are a bit
different from the rest. My grep_syscall function couldn't find them.
There's no sys_inb, nor does it use SYSCALL_DEFINE?().
There are a lot of different declarations like plain 'inb' (some static,
some extern). Where is the actual syscall defined?
Thanks,
Alex
--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
parent reply other threads:[~2021-02-04 13:25 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <6336a172-6bc5-bad8-21a4-0309a83728e7@gmail.com>]
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=81b3d032-b862-f255-1e58-2c319772713f@gmail.com \
--to=alx.manpages@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@gmail.com \
/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
all inboxes | Powered by JetHome®