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

NAME

6       ares_cancel - Cancel a resolve
7

SYNOPSIS

9       #include <ares.h>
10
11       int ares_cancel(ares_channel channel)
12

DESCRIPTION

14       The  ares_cancel  function cancels all lookups/requests made on the the
15       name service channel identified by channel.   ares_cancel  invokes  the
16       callbacks  for  each  pending query on the channel, passing a status of
17       ARES_ETIMEOUT.  These calls give the callbacks a chance to clean up any
18       state which might have been stored in their arguments.
19

SEE ALSO

21       ares_init(3) ares_destroy(3)
22

NOTES

24       This function was added in c-ares 1.2.0
25

AUTHOR

27       Dirk Manske
28
29
30
31                                 31 March 2004                  ARES_CANCEL(3)
Impressum