ldb_val(3)

πŸ“¦
version 4.24.7 Β· 2 versions
, in centos-stream 10, fedora 43, fedora 44

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