Revert "Imported Upstream version 1.17.1"
[platform/upstream/c-ares.git] / ares_destroy.3
similarity index 90%
rename from docs/ares_destroy.3
rename to ares_destroy.3
index 9cdee30..7af7fe3 100644 (file)
@@ -18,9 +18,9 @@
 ares_destroy \- Destroy a resolver channel
 .SH SYNOPSIS
 .nf
-#include <ares.h>
-
-void ares_destroy(ares_channel \fIchannel\fP)
+.B #include <ares.h>
+.PP
+.B void ares_destroy(ares_channel \fIchannel\fP)
 .fi
 .SH DESCRIPTION
 The \fBares_destroy(3)\fP function destroys the name service channel
@@ -28,7 +28,7 @@ identified by \fIchannel\fP, freeing all memory and closing all sockets used
 by the channel.
 
 \fBares_destroy(3)\fP invokes the callbacks for each pending query on the
-channel, passing a status of \fIARES_EDESTRUCTION\fP. These calls give the
+channel, passing a status of \IARES_EDESTRUCTION\fP. These calls give the
 callbacks a chance to clean up any state which might have been stored in their
 arguments. A callback must not add new requests to a channel being destroyed.
 .SH SEE ALSO