From: Daniel Stenberg Date: Tue, 3 Feb 2004 08:58:10 +0000 (+0000) Subject: adjusted to the new single-parameter version of this function X-Git-Tag: upstream/1.10.0~1506 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1da218113ddf5d1ae85e591a879f88a654779c4e;p=platform%2Fupstream%2Fc-ares.git adjusted to the new single-parameter version of this function --- diff --git a/ares_strerror.3 b/ares_strerror.3 index 2221baf..254d793 100644 --- a/ares_strerror.3 +++ b/ares_strerror.3 @@ -21,23 +21,14 @@ ares_strerror \- Get the description of an ares library error code .nf .B #include .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