ldns(3)
π ldns(3) π
okay so bestie, welcome to the ldns(3) manual page β library functions manual energy, but make it cute. this one's a tiny lil' page about one (1) function and honestly? she's a baddie. let's get into it π«Ά
β¨ NAME β¨
ldns_octet β removes escaped from the input π
(no fr that's literally what it says, she removes escapes, that's her whole job, and she ate)
πΈ SYNOPSIS πΈ
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_status ldns_octet(char *word, size_t *length);
look at her. short. iconic. three includes and a function signature. main character energy fr fr β¨
π¦ DESCRIPTION π¦
so ldns_octet() removes \\DDD, \\[space] and other escapes from the input. like, she takes the scary backslash-y stuff and just... yeets it. gone. not the vibe anymore. π
peep RFC 1035, section 5.1 for the lore β that's the canon source on escapes, iykyk.
the args, bestie:
wordβ what to check πlengthβ the string
and she returns ldns_status mesg. that's the return value. that's it. that's the whole tea. π
π AUTHOR π
The ldns team at NLnet Labs. absolute legends, no cap. π
π REPORTING BUGS π
found a bug? don't suffer in silence bestie, tell someone!! please report bugs to dns-team@nlnetlabs.nl or on GitHub at:
https://github.com/NLnetLabs/ldns/issues
they wanna know. they really do. π«Ά
π 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 this part is lowkey serious β NO warranty. not even the implied ones. not even MERCHANTABILITY. not even FITNESS FOR A PARTICULAR PURPOSE. like, she said what she said. π
π SEE ALSO π
(the RFC girlies stay booked and busy β)
π REMARKS π
This manpage was automatically generated from the ldns source code. not me being a bot-written page and still serving this much cunt π β¨
and that's the whole page bestie, we're done!! this lil' slice of ldns(3) β library functions manual β was served up fresh on 30 May 2006, brought to you by the ldns crew at NLnet Labs. mwah πππ¦
π¦ 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