ldns(3)
π 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 oncountβ 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 π
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 πΈβ¨π
π¦ where this page comes from
- alpine 3.22: ldns-doc 1.8.4-r0 Β· BSD-3-Clause
- alpine 3.23: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- alpine 3.24: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- arch rolling: ldns 1.9.2-1 Β· custom:BSD
- debian trixie: libldns-dev 1.8.4-2+b1
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- nixos 26.05: ldns 1.9.2
- nixpkgs unstable: ldns 1.9.2
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- ubuntu questing: libldns-dev 1.8.4-2build1
- ubuntu resolute: libldns-dev 1.8.4-2build3
- ubuntu stonking: libldns-dev 1.9.2-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms