diff options
Diffstat (limited to 'ares_mkquery.3')
-rw-r--r-- | ares_mkquery.3 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ares_mkquery.3 b/ares_mkquery.3 index f7c5413..b2c90a9 100644 --- a/ares_mkquery.3 +++ b/ares_mkquery.3 @@ -25,6 +25,8 @@ ares_mkquery \- Compose a single-question DNS query buffer .B int *\fIbuflen\fP) .fi .SH DESCRIPTION +Deprecated function. See \fIares_create_query(3)\fP instead! + The .B ares_mkquery function composes a DNS query with a single question. @@ -50,6 +52,11 @@ and the length of which will be stored in the variable pointed to by .IR buflen . It is the caller's responsibility to free this buffer using \fIares_free_string(3)\fP when it is no longer needed. + +Usage of \fIares_mkquery(3)\fP is deprecated, whereas the function is +equivalent to \fIares_create_query(3)\fP with \fBmax_udp_size\fP set to +0. + .SH RETURN VALUES .B ares_mkquery can return any of the following values: |