Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 45 lines (44 sloc) 1.54 kb
5e847a14 »
2003-10-07 ares 1.1.1 with collected applied patches
1 .\"
2 .\" Copyright 1998 by the Massachusetts Institute of Technology.
3 .\"
4 .\" Permission to use, copy, modify, and distribute this
5 .\" software and its documentation for any purpose and without
6 .\" fee is hereby granted, provided that the above copyright
7 .\" notice appear in all copies and that both that copyright
8 .\" notice and this permission notice appear in supporting
9 .\" documentation, and that the name of M.I.T. not be used in
10 .\" advertising or publicity pertaining to distribution of the
11 .\" software without specific, written prior permission.
12 .\" M.I.T. makes no representations about the suitability of
13 .\" this software for any purpose. It is provided "as is"
14 .\" without express or implied warranty.
15 .\"
93538d6a »
2004-12-07 NORECURSE clarification, minor formatting update
16 .TH ARES_DESTROY 3 "7 December 2004"
5e847a14 »
2003-10-07 ares 1.1.1 with collected applied patches
17 .SH NAME
18 ares_destroy \- Destroy a resolver channel
19 .SH SYNOPSIS
20 .nf
21 .B #include <ares.h>
22 .PP
93538d6a »
2004-12-07 NORECURSE clarification, minor formatting update
23 .B void ares_destroy(ares_channel \fIchannel\fP)
5e847a14 »
2003-10-07 ares 1.1.1 with collected applied patches
24 .fi
25 .SH DESCRIPTION
26 The
27 .B ares_destroy
28 function destroys the name service channel identified by
29 .IR channel ,
30 freeing all memory and closing all sockets used by the channel.
31 .B ares_destroy
32 invokes the callbacks for each pending query on the channel, passing a
33 status of
34 .BR ARES_EDESTRUCTION .
35 These calls give the callbacks a chance to clean up any state which
1317a1c9 »
2013-04-08 ares_destroy() documentation: no new requests
36 might have been stored in their arguments. A callback must not add new
37 requests to a channel being destroyed.
5e847a14 »
2003-10-07 ares 1.1.1 with collected applied patches
38 .SH SEE ALSO
a52274e6 »
2004-04-02 minor edits
39 .BR ares_init (3),
40 .BR ares_cancel (3)
5e847a14 »
2003-10-07 ares 1.1.1 with collected applied patches
41 .SH AUTHOR
42 Greg Hudson, MIT Information Systems
43 .br
44 Copyright 1998 by the Massachusetts Institute of Technology.
Something went wrong with that request. Please try again.