diff options
Diffstat (limited to 'ares_dup.3')
-rw-r--r-- | ares_dup.3 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -21,12 +21,12 @@ ares_dup \- Duplicate a resolver channel .nf .B #include <ares.h> .PP -.B int ares_dup(ares_channel *\fIchannel\fP, ares_channel \fIsource\fP) +.B int ares_dup(ares_channel *\fIdest\fP, ares_channel \fIsource\fP) .fi .SH DESCRIPTION The \fBares_dup(3)\fP function duplicates an existing communications channel for name service lookups. If it returns successfully, \fBares_dup(3)\fP will -set the variable pointed to by \fIchannel\fP to a handle used to identify the +set the variable pointed to by \fIdest\fP to a handle used to identify the name service channel. The caller should invoke \fIares_destroy(3)\fP on the handle when the channel is no longer needed. |