* [patch] resolver.3: correct arguments to res_ninit(res_state statep)
@ 2016-08-10 10:24 Ray Bellis
[not found] ` <4208e9bc-38c0-a17b-298f-bb6659d00138-2cKsPvgpMDY@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Ray Bellis @ 2016-08-10 10:24 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
The man page for res_ninit() incorrectly says that it takes no
parameters, when in fact (and indeed according to the same page further
down) it has to take a res_state parameter.
--8<--8<--
diff --git a/man3/resolver.3 b/man3/resolver.3
index a5cfd22..dc0519a 100644
--- a/man3/resolver.3
+++ b/man3/resolver.3
@@ -44,7 +44,7 @@ dn_comp, dn_expand \- resolver routines
.B struct __res_state;
.B typedef struct __res_state *res_state;
-.B int res_ninit(void);
+.BI "int res_ninit(res_state " statep );
.BI "int res_nquery(res_state " statep ,
.BI " const char *" dname ", int " class ", int " type ,
--8<--8<--
kind regards,
Ray Bellis
--
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 related [flat|nested] 2+ messages in thread
* Re: [patch] resolver.3: correct arguments to res_ninit(res_state statep)
[not found] ` <4208e9bc-38c0-a17b-298f-bb6659d00138-2cKsPvgpMDY@public.gmane.org>
@ 2016-08-10 18:22 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2016-08-10 18:22 UTC (permalink / raw)
To: Ray Bellis
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
Hello Ray,
On 08/10/2016 10:24 PM, Ray Bellis wrote:
> The man page for res_ninit() incorrectly says that it takes no
> parameters, when in fact (and indeed according to the same page further
> down) it has to take a res_state parameter.
Thanks for the patch! Applied.
Cheers,
Michael
> --8<--8<--
> diff --git a/man3/resolver.3 b/man3/resolver.3
> index a5cfd22..dc0519a 100644
> --- a/man3/resolver.3
> +++ b/man3/resolver.3
> @@ -44,7 +44,7 @@ dn_comp, dn_expand \- resolver routines
> .B struct __res_state;
> .B typedef struct __res_state *res_state;
>
> -.B int res_ninit(void);
> +.BI "int res_ninit(res_state " statep );
>
> .BI "int res_nquery(res_state " statep ,
> .BI " const char *" dname ", int " class ", int " type ,
> --8<--8<--
>
> kind regards,
>
> Ray Bellis
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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:[~2016-08-10 18:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-10 10:24 [patch] resolver.3: correct arguments to res_ninit(res_state statep) Ray Bellis
[not found] ` <4208e9bc-38c0-a17b-298f-bb6659d00138-2cKsPvgpMDY@public.gmane.org>
2016-08-10 18:22 ` Michael Kerrisk (man-pages)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.