ARES\_STRERROR(3) Library Functions Manual ARES\_STRERROR(3)

# [NAME](#NAME)

ares\_strerror - Get the description of an ares library error code

# [SYNOPSIS](#SYNOPSIS)

```
#include <ares.h>
const char *ares_strerror(int code)
```

# [DESCRIPTION](#DESCRIPTION)

The **ares\_strerror** function gets the description of the ares library error code *code*, returning the result as a NUL-terminated C string.

# [NOTES](#NOTES)

This function is not compatible with ares, it takes a different set of arguments.

25 July 1998

---

Document: ares_strerror(3) from c-ares 1.34.9-r0 (Chainguard OS)
Source: https://github.com/c-ares/c-ares
