ARES_DESTROY_OPTIONS(3)
β¨ ARES_DESTROY_OPTIONS(3) β¨
okay bestie, welcome to the ares_destroy_options page from the Library Functions Manual π this one is short and sweet and honestly kind of iconic for it.
πΈ NAME πΈ
ares_destroy_options β destroy options initialized with ares_save_options π«Ά
π SYNOPSIS π
#include <ares.h>
void ares_destroy_options(struct ares_options *options)
π¦ DESCRIPTION π¦
so here's the tea: ares_destroy_options(3) destroys the options struct that Ioptions points at. it frees up all the memory that ares_save_options(3) allocated. like, every last byte. no leftovers, no crumbs, we clean up after ourselves in this house π
basically it's the "okay we're done here, release the memory" bestie of the options world. you saved 'em, now you destroy 'em. balance. harmony. β¨
π SEE ALSO π
iykyk π
π fr fr, if you skip this call you're just leaving memory lying around. not the vibe.
okay that's the whole page, it's giving short but essential π this was the ARES_DESTROY_OPTIONS(3) page, dated 1 June 2007, straight out of the Library Functions Manual. mwah, love u, go free your memory bestie ππ¦πΈ
π¦ 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 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 1998 by the Massachusetts Institute of Technology
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms