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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html