mirror of https://github.com/mkerrisk/man-pages
resolver.3: Correct arguments to res_ninit(res_state statep)
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.
This commit is contained in:
parent
a9672faabc
commit
519303a6a4
|
@ -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 ,
|
||||
|
|
Loading…
Reference in New Issue