ARES_VERSION(3)
π NAME π
ares_version β bestie, it gets the version number of the library. This page is ARES_VERSION(3) from the Library Functions Manual, and she's serving documentation realness. β¨
β¨ SYNOPSIS β¨
#include <ares.h>
const char *ares_version(int *version)
πΈ DESCRIPTION πΈ
okay so the ares_version(3) function gets the library version as a string and optionally as an integer stored in the version argument. If you pass a NULL, no integer is attempted to be returned. not me trying to return an integer when there's no pointer, bye. π
The integer is built up as a 24bit number, with 8 separate bits used for major number, minor number and patch number. So a version string such as 1.2.3 will be returned as the hexadecimal number 0x010203 (decimal 66051). math ate, no cap. π₯
π SEE ALSO π
kisses bestie, this was ARES_VERSION(3) from the Library Functions Manual, dated 29 January 2004. periodt. π«Άβ¨
π¦ where this page comes from
- alpine 3.22: c-ares-doc 1.34.9-r0 Β· MIT
- alpine 3.23: c-ares-doc 1.34.9-r0 Β· MIT
- alpine 3.24: c-ares-doc 1.34.9-r0 Β· MIT
- arch rolling: c-ares 1.34.9-1 Β· MIT
- centos-stream 10: c-ares-devel 1.34.9-1.el10 Β· MIT
- debian trixie: libc-ares-dev 1.34.5-1+deb13u1 Β· MIT
- fedora 43: c-ares-devel 1.34.5-2.fc43 Β· MIT
- fedora 43: c-ares-devel 1.34.5-2.fc43 Β· MIT
- fedora 43: c-ares-devel 1.34.8-1.fc43 Β· MIT
- fedora 43: c-ares-devel 1.34.8-1.fc43 Β· MIT
- fedora 44: c-ares-devel 1.34.6-3.fc44 Β· MIT
- fedora 44: c-ares-devel 1.34.6-3.fc44 Β· MIT
- fedora 44: c-ares-devel 1.34.8-1.fc44 Β· MIT
- fedora 44: c-ares-devel 1.34.8-1.fc44 Β· MIT
- nixos 26.05: c-ares 1.34.9
- nixpkgs unstable: c-ares 1.34.8
- opensuse-leap 16.0: c-ares-devel 1.34.8-160000.1.1 Β· MIT
- opensuse-leap 16.0: c-ares-devel 1.34.8-160000.1.1 Β· MIT
- opensuse-leap 16.0: c-ares-devel 1.34.8-160000.1.1 Β· MIT
- opensuse-leap 16.0: c-ares-devel 1.34.8-160000.1.1 Β· MIT
- ubuntu noble: libc-ares-dev 1.27.0-1.0ubuntu1
- ubuntu noble: libc-ares-dev 1.27.0-1.0ubuntu1.1
- ubuntu questing: libc-ares-dev 1.34.5-1
- ubuntu questing: libc-ares-dev 1.34.5-1ubuntu0.1
- ubuntu resolute: libc-ares-dev 1.34.6-1 Β· MIT
- ubuntu resolute: libc-ares-dev 1.34.6-1ubuntu0.1
- ubuntu resolute: libc-ares-dev 1.34.6-1ubuntu0.2 Β· MIT
- ubuntu stonking: libc-ares-dev 1.34.8-1 Β· MIT
- π the page's license: MIT
- Copyright 2004 by Daniel Stenberg
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms