ares_destroy.3: formatting polish

pull/20/merge
Daniel Stenberg 8 years ago
parent 7658fcdefb
commit 53952e3022
  1. 20
      ares_destroy.3

@ -23,18 +23,14 @@ ares_destroy \- Destroy a resolver channel
.B void ares_destroy(ares_channel \fIchannel\fP) .B void ares_destroy(ares_channel \fIchannel\fP)
.fi .fi
.SH DESCRIPTION .SH DESCRIPTION
The The \fBares_destroy(3)\fP function destroys the name service channel
.B ares_destroy identified by \fIchannel\fP, freeing all memory and closing all sockets used
function destroys the name service channel identified by by the channel.
.IR channel ,
freeing all memory and closing all sockets used by the channel. \fBares_destroy(3)\fP invokes the callbacks for each pending query on the
.B ares_destroy channel, passing a status of \IARES_EDESTRUCTION\fP. These calls give the
invokes the callbacks for each pending query on the channel, passing a callbacks a chance to clean up any state which might have been stored in their
status of arguments. A callback must not add new requests to a channel being destroyed.
.BR ARES_EDESTRUCTION .
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 .SH SEE ALSO
.BR ares_init (3), .BR ares_init (3),
.BR ares_cancel (3) .BR ares_cancel (3)

Loading…
Cancel
Save