ldns(3)
π ldns(3) β the library functions manual, bestie edition π
okay so this is a page from the Library Functions Manual for ldns(3) and it's genuinely so useful, come sit with me π«Ά
β¨ NAME β¨
ldns_fget_token, ldns_fskipcs β get tokens from files π
πΈ SYNOPSIS πΈ
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ssize_t ldns_fget_token(FILE *f, char *token, const char *delim, size_t
limit);
void ldns_fskipcs(FILE *fp, const char *s);
π¦ DESCRIPTION π¦
ldns_fget_token() π
so this one returns a token/char from the stream F. and here's the cute part: this function deals with ( and ) in the stream, and ignores them when encountered. iconic behaviour, honestly.
*f: the file to read from*token: the read token is put here*delim: chars at which the parsing should stop*limit: how much to read. If0the builtin maximum is used
Returns 0 on error of EOF of the stream F. Otherwise return the length of what is read. β¨
ldns_fskipcs() π
skips all of the characters in the given string in the fp, moving the position to the first character that is not in *s. no cap, that's literally it.
*fp: file to use*s: characters to skip
Returns void. π (like, nothing. it just does the thing and leaves.)
π AUTHOR π
The ldns team at NLnet Labs. absolute main characters, fr fr.
π REPORTING BUGS π
Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues β they wanna hear from you bestie, don't be shy π«Ά
π 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. like... zero warranty. none. not even the fitness one. π
π SEE ALSO π
ldns_buffer. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
π REMARKS π
This manpage was automatically generated from the ldns source code. so yeah, a robot wrote it. still ate though. π
and that's the whole page!! this one's from the ldns 3 manual, dated 30 May 2006, and it's serving vintage-but-timeless energy. stay tokenized, bestie πβ¨π¦πΈπ
π¦ 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