public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* gethostid/sethostid in wrong manual section
@ 2008-12-22 23:39 Colin Watson
       [not found] ` <20081222233953.GG16155-K2jUmMR1UYV4cg9Nei1l7Q@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Watson @ 2008-12-22 23:39 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/17551 reports
(and I've confirmed) that gethostid/sethostid are in section 2 despite
being implemented by glibc, not the kernel; they aren't just syscall
stubs either. Should they be moved to section 3?

Thanks,

-- 
Colin Watson                                       [cjwatson-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org]
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gethostid/sethostid in wrong manual section
       [not found] ` <20081222233953.GG16155-K2jUmMR1UYV4cg9Nei1l7Q@public.gmane.org>
@ 2009-01-12 18:46   ` Michael Kerrisk
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk @ 2009-01-12 18:46 UTC (permalink / raw)
  To: Colin Watson; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hi Colin,

On Tue, Dec 23, 2008 at 12:39 PM, Colin Watson <cjwatson-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org> wrote:
> https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/17551 reports
> (and I've confirmed) that gethostid/sethostid are in section 2 despite
> being implemented by glibc, not the kernel; they aren't just syscall
> stubs either. Should they be moved to section 3?

I suspect this is a historical thing, since in the original BSD docs,
these interfaces were documented in Section 2, although I see FreeBSD
for example now has them in Section 3.

Anyway, I have relocated the page to section 3 as you suggest, and
created some .so link files so that "man 2 [gs]ethostid" will continue
to do the right thing.

(There were also a few other broken pieces in the page -- e.g., no
return value or error description for sethostid() -- that I also fixed
along the way.)

The changes will be in man-pages-3.16.

Cheers,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-12 18:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-22 23:39 gethostid/sethostid in wrong manual section Colin Watson
     [not found] ` <20081222233953.GG16155-K2jUmMR1UYV4cg9Nei1l7Q@public.gmane.org>
2009-01-12 18:46   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox