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:
Ray Bellis 2016-08-10 11:24:11 +01:00 committed by Michael Kerrisk
parent a9672faabc
commit 519303a6a4
1 changed files with 1 additions and 1 deletions

View File

@ -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 ,