shishi_resolv_free(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

shishi_resolv_free β€” bestie it's an API function, that's the whole vibe ✨


🌸 SYNOPSIS 🌸

#include <shishi.h>

void shishi_resolv_free(Shishi_dns rrs);

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi_dns rrs β€” okay so this is a list of DNS RRs, like, exactly the kind you get handed back from shishi_resolv(). That's the one. That's the girl. πŸ¦‹

✨ DESCRIPTION ✨

So basically? shishi_resolv_free() deallocates a list of DNS resource records β€” the ones that came back from a call to shishi_resolv(). Like, it's the cleanup era. You asked for the RRs, you got the RRs, and now you're being a responsible main character and giving that memory back. 🫢

No cap: if you don't free what you resolved, that's giving leak, and we do not stan. πŸ’…


😭 REPORTING BUGS 😭

Found a bug? Not you being the unpaid QA bestie 😭 β€” report that to <bug-shishi@gnu.org>.


Copyright Β© 2002-2022 Simon Josefsson.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. (Yes bestie, keep the receipts β€” the notice stays, that's the rule, periodt. πŸ’œ)


🌈 SEE ALSO 🌈

The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command

info shishi

should give you access to the complete manual. Go read it, it's giving lore. πŸ“šβœ¨


iykyk: this whole page is from the shishi manual, version 1.0.3, dated shishi_resolv_free(3) β€” mwah, free your memory and slay responsibly πŸ’–πŸŽ€πŸ¦‹