ldns(3)

πŸ“¦
version 1.9.2 Β· 2 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– ldns(3) β€” Library Functions Manual πŸ’–

okay so bestie, welcome to the ldns(3) page, the library functions manual, and today's main character is a lil function that counts stuff. yes. counting. it's giving tiny-but-mighty. ✨


🌸 NAME 🌸

ldns_rr_label_count β€” return ownername label count

like, it literally does what it says on the tin, no cap.


πŸŽ€ SYNOPSIS πŸŽ€

#include <stdint.h>
#include <stdbool.h>

#include <ldns/ldns.h>

uint8_t ldns_rr_label_count(const ldns_rr *rr);

look at that signature, so clean, so iconic. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

ldns_rr_label_count() counts the number of labels of the ownername. that's the whole vibe. it looks at an ownername and goes "hmm, how many labels you got, bestie?" and then tells you. periodt.

here's the breakdown, so you're never confused:

  • rr: count the labels of this rr β€” that's the one and only thing you hand it.
  • Returns the number of labels. πŸŽ‰

that's it. that's the function. no hidden lore, no plot twist.


πŸ‘‘ AUTHOR πŸ‘‘

The ldns team at NLnet Labs. absolute legends, we love them, we stan. 🫢


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found something cursed? Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues

not me begging you to actually file the issue instead of just complaining in the group chat 😭 they can't fix it if they don't know, fr fr.

Copyright (c) 2004 - 2006 NLnet Labs.

Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

okay that's the scary-but-important part, so listen up: no warranty. none. not even the implied ones. it's giving "you're on your own, bestie," and we respect the honesty. πŸ’€

🌈 SEE ALSO 🌈

  • ldns_rr
  • ldns_rr_list

And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.

go read them, iykyk, they're the lore. πŸ“šβœ¨


⭐ REMARKS ⭐

This manpage was automatically generated from the ldns source code.

so if the prose is a little stiff, that's why β€” the robots wrote it. i just gave it a glow-up. 🧚

and that's the page, bestie!! this whole thing is ldns(3), dated 30 May 2006, and yes we're still obsessed with it in the year of our lord. mwah. πŸ’–πŸŽ€πŸŒΈπŸ¦‹βœ¨πŸ’…πŸ“