1ARES_DUP(3)                Library Functions Manual                ARES_DUP(3)
2
3
4

NAME

6       ares_dup - Duplicate a resolver channel
7

SYNOPSIS

9       #include <ares.h>
10
11       int ares_dup(ares_channel *dest, ares_channel source)
12

DESCRIPTION

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

SEE ALSO

21       ares_destroy(3), ares_init(3), ares_library_init(3)
22

AVAILABILITY

24       ares_dup(3) was added in c-ares 1.6.0
25

AUTHOR

27       Daniel Stenberg
28
29
30
31
32                                  26 May 2009                      ARES_DUP(3)
Impressum