blob: 4b50d5bbb5850ff2b29187cf51beca313297352b [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001.\"
2.\" Copyright 1998 by the Massachusetts Institute of Technology.
3.\"
4.\" Permission to use, copy, modify, and distribute this
5.\" software and its documentation for any purpose and without
6.\" fee is hereby granted, provided that the above copyright
7.\" notice appear in all copies and that both that copyright
8.\" notice and this permission notice appear in supporting
9.\" documentation, and that the name of M.I.T. not be used in
10.\" advertising or publicity pertaining to distribution of the
11.\" software without specific, written prior permission.
12.\" M.I.T. makes no representations about the suitability of
13.\" this software for any purpose. It is provided "as is"
14.\" without express or implied warranty.
15.\"
16.TH ARES_STRERROR 3 "25 July 1998"
17.SH NAME
18ares_strerror \- Get the description of an ares library error code
19.SH SYNOPSIS
20.nf
21.B #include <ares.h>
22.PP
23.B const char *ares_strerror(int \fIcode\fP)
24.fi
25.SH DESCRIPTION
26The
27.B ares_strerror
28function gets the description of the ares library error code
29.IR code ,
30returning the result as a NUL-terminated C string.
31.SH NOTES
32This function is not compatible with ares, it takes a different set of
33arguments.
34.SH AUTHOR
35Greg Hudson, MIT Information Systems
36.br
37Copyright 1998 by the Massachusetts Institute of Technology.