aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_strerror.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-03 08:58:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-03 08:58:10 +0000
commit5fc8d4da450e7f1f3dd2dd164614e1caa12282f4 (patch)
tree9970e552c1a9c0a2e2d93254affcfb708182ecf9 /ares/ares_strerror.3
parent4af66b70fcf9d638ae1214163db0abdc1a854933 (diff)
adjusted to the new single-parameter version of this function
Diffstat (limited to 'ares/ares_strerror.3')
-rw-r--r--ares/ares_strerror.313
1 files changed, 2 insertions, 11 deletions
diff --git a/ares/ares_strerror.3 b/ares/ares_strerror.3
index 2221baf9e..254d793cb 100644
--- a/ares/ares_strerror.3
+++ b/ares/ares_strerror.3
@@ -21,23 +21,14 @@ ares_strerror \- Get the description of an ares library error code
.nf
.B #include <ares.h>
.PP
-.B const char *ares_strerror(int \fIcode\fP, char **\fImemptr\fP)
+.B const char *ares_strerror(int \fIcode\fP)
.fi
.SH DESCRIPTION
The
.B ares_strerror
function gets the description of the ares library error code
.IR code ,
-returning the result as a NUL-terminated C string. A pointer to
-allocated data necessary to compose the error description may be
-stored in the variable pointed to by
-.IR memptr .
-It is the caller's responsibility to invoke
-.BR ares_free_errmem (3)
-with the value of that variable when the error description is no
-longer needed.
-.SH SEE ALSO
-.BR ares_free_errmem (3)
+returning the result as a NUL-terminated C string.
.SH AUTHOR
Greg Hudson, MIT Information Systems
.br