Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

ares_strerror (3)

Name

ares_strerror - Get the description of an ares library error code

Synopsis

#include <ares.h>

const char *ares_strerror(int code)

Description

ARES_STRERROR(3)           Library Functions Manual           ARES_STRERROR(3)



NAME
       ares_strerror - Get the description of an ares library error code

SYNOPSIS
       #include <ares.h>

       const char *ares_strerror(int code)

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


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/libcares |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+

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

       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source    was   downloaded   from    https://c-ares.haxx.se/download/c-
       ares-1.17.2.tar.gz.

       Further information about this software can be found on the open source
       community website at https://c-ares.haxx.se/.

AUTHOR
       Greg Hudson, MIT Information Systems
       Copyright 1998 by the Massachusetts Institute of Technology.




                                 25 July 1998                 ARES_STRERROR(3)