* Re: outb.2: What to do with prototypes?
[not found] <6336a172-6bc5-bad8-21a4-0309a83728e7@gmail.com>
@ 2021-02-04 13:24 ` Alejandro Colomar (man-pages)
0 siblings, 0 replies; only message in thread
From: Alejandro Colomar (man-pages) @ 2021-02-04 13:24 UTC (permalink / raw)
To: Michael Kerrisk (man-pages); +Cc: linux-man, linux-kernel
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-04 13:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <6336a172-6bc5-bad8-21a4-0309a83728e7@gmail.com>
2021-02-04 13:24 ` outb.2: What to do with prototypes? Alejandro Colomar (man-pages)
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®