ldb_val(3)
π ldb_val(3) β bestie edition π
okay so this page is from the LDB library functions manual, and it's literally all about one lil struct. she's small. she's mighty. she's ldb_val. let's get into it π«Ά
β¨ NAME β¨
ldb_val β Result value. that's it, that's the whole name. iconic behaviour honestly π
πΈ SYNOPSIS πΈ
#include <ldb.h>
π Data Fields
uint8_t * data
size_t length
two fields. that's the whole squad. two little besties carrying all your data around π
π¦ DETAILED DESCRIPTION π¦
okay so ldb_val is a Result value. slay. but like, what does that MEAN bestie?
it's one individual lump of data in a result β and that's the format it always comes in, no cap. the pointer will usually be pointing at a UTF-8 string if the application is being sensible about things π, but honestly? it can be pointing at anything you like. literally anything. binary data blobs of arbitrary size?? sure!! go off!! the struct does not care, she's just vibing β¨
note note note π’ the data is null (0x00) terminated, but the length does not include the terminator. so like. don't be out here counting the terminator as part of the length, bestie, that's not the vibe. π
π FIELD DOCUMENTATION π
β uint8_t* ldb_val::data
result data. the actual goods. the main character of the whole struct, fr fr. π
β size_t ldb_val::length
length of data. how many bytes of the goods we're talking about. the receipts. the math. the moment. πβ¨
π AUTHOR π
Generated automatically by Doxygen for LDB from the source code. so nobody hand-wrote this one, the robots did it, and honestly? they ate. π
and that's the whole page bestie, no notes, you understood it perfectly π§
cute lil sign-off: this was the LDB manual page for ldb_val(3), auto-generated from the LDB source code β go forth and read your result values with confidence, you've got this π«ΆπΈ
π¦ where this page comes from
- centos-stream 10: libldb-devel 4.24.5-101.el10 Β· LGPL-3.0-or-later
- fedora 43: libldb-devel 2:4.23.1-1.fc43 Β· LGPL-3.0-or-later
- fedora 43: libldb-devel 2:4.23.1-1.fc43 Β· LGPL-3.0-or-later
- fedora 43: libldb-devel 2:4.23.12-1.fc43 Β· LGPL-3.0-or-later
- fedora 43: libldb-devel 2:4.23.12-1.fc43 Β· LGPL-3.0-or-later
- fedora 44: libldb-devel 2:4.24.0-6.fc44 Β· LGPL-3.0-or-later
- fedora 44: libldb-devel 2:4.24.0-6.fc44 Β· LGPL-3.0-or-later
- fedora 44: libldb-devel 2:4.24.7-1.fc44 Β· LGPL-3.0-or-later
- fedora 44: libldb-devel 2:4.24.7-1.fc44 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms