[patch] resolver.3: correct arguments to res_ninit(res_state statep)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux