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) πŸ’–

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 (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 πŸ’–πŸŽ€πŸ¦‹