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) β€” the manual page, but make it cute πŸ’–

okay so bestie, welcome to ldns(3) πŸ’… this is a lil' slice of the ldns library manual β€” the one all about counting and setting how many resource records live inside an ldns_rr_list. tiny API, big main character energy. let's get into it πŸŽ€


✨ NAME ✨

ldns_rr_list_rr_count, ldns_rr_list_set_rr_count β€” get and set ldns_rr_list length

like... that's it. that's the whole job. read the count, write the count. lowkey iconic for how unbothered it is πŸ¦‹


🌸 SYNOPSIS 🌸

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

#include <ldns/ldns.h>

size_t ldns_rr_list_rr_count(const ldns_rr_list *rr_list);

void ldns_rr_list_set_rr_count(ldns_rr_list *rr_list, size_t count);

copy those includes exactly, bestie, no improvising πŸ™ˆ


πŸ‘‘ DESCRIPTION πŸ‘‘

ldns_rr_list_rr_count()

returns the number of rr's in an rr_list. that's the vibe check on your list length ✨

  • rr_list β€” the rr_list to read from
  • Returns β€” the number of rr's

ldns_rr_list_set_rr_count()

sets the number of rr's in an rr_list. you're the one deciding the count now, queen πŸ‘‘

  • rr_list β€” the rr_list to set the count on
  • count β€” the number of rr in this list
  • Returns β€” void (it gives you nothing back and honestly? respect 😌)

πŸ’œ AUTHOR πŸ’œ

The ldns team at NLnet Labs. absolute legends, no cap 🫢


πŸ› REPORTING BUGS πŸ›

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

found a bug? don't be shy, tell them 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 so the caps lock on NO is doing a lot of work here and it's doing it correctly πŸ’€ no warranty, not even the implied ones, periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

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

iykyk β€” go read the RFCs if you wanna be that girl πŸ’…


πŸŽ€ REMARKS πŸŽ€

This manpage was automatically generated from the ldns source code.

(yes, a robot wrote it. and it ate. πŸ”₯)


and that's the whole page, bestie!! this beauty is from ldns 3, dated 30 May 2006 β€” shoutout to the ldns team at NLnet Labs for keeping it real all these years πŸŒΈβœ¨πŸ’–