lsm_block...ecord_copy(3)
πΈ NAME πΈ
lsm_block_range_record_copy β bestie, this one literally makes a whole duplicate of a block_range record. π
Oh and hey, welcome to the Libstoragemgmt C API Manual β that's the vibe we're in rn. β¨
π SYNOPSIS π
lsm_block_range * lsm_block_range_record_copy (lsm_block_range
*source);
π¦ ARGUMENTS π¦
sourceβ a pointer to thelsm_block_rangeyou want duplicated. That's it, that's the whole input. Give it the thing, get back a copy. π«Ά
β VERSION β
1.0 β yeah she's been around, she's iconic, she's stable. π
π DESCRIPTION π
So basically, lsm_block_range_record_copy duplicates a lsm_block_range record. You hand it a source, it hands you back a twin. Copy-paste energy but, like, official. π₯
π RETURN π
You get back a pointer to an lsm_block_range. But heads up β it returns NULL if memory allocation fails, or if you passed in an invalid lsm_block_range pointer. π
Also, and this is the important part, bestie: the thing it gives you should be freed by lsm_block_range_record_free. Do not ghost that cleanup, fr fr. π§Ήβ¨
That's the whole page, gorgeous. It came from the Libstoragemgmt C API Manual, dated February 2026. Now go forth and free your records. πππ¦
π¦ where this page comes from
- fedora 43: libstoragemgmt-devel 1.10.3-1.fc43 Β· LGPL-2.1-or-later
- fedora 44: libstoragemgmt-devel 1.10.3-1.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms