1ARES_DUP(3) Library Functions Manual ARES_DUP(3)
2
3
4
6 ares_dup - Duplicate a resolver channel
7
9 #include <ares.h>
10
11 int ares_dup(ares_channel *dest, ares_channel source)
12
14 The ares_dup(3) function duplicates an existing communications channel
15 for name service lookups. If it returns successfully, ares_dup(3) will
16 set the variable pointed to by dest to a handle used to identify the
17 name service channel. The caller should invoke ares_destroy(3) on the
18 handle when the channel is no longer needed.
19
21 ares_destroy(3), ares_init(3), ares_library_init(3)
22
24 ares_dup(3) was added in c-ares 1.6.0
25
27 Daniel Stenberg
28
29
30
31
32 26 May 2009 ARES_DUP(3)