hdf_get_valuevf(3)
π hdf_get_valuevf(3) π
okay bestie, welcome to the manual page for hdf_get_valuevf β she lives in util/neo_hdf.h and she is, lowkey, the varargs girlie of the HDF crew. pull up a chair π«Ά
β¨ NAME β¨
hdf_get_valuevf β return the value of a node in the data set π
π SYNOPSIS π
#include <util/neo_hdf.h>
char* hdf_get_valuevf (HDF *hdf, const char *namefmt, va_list ap);
no cap, that's the whole signature. she takes a va_list and she slays.
π ARGUMENTS π
hdfβ the dataset node to start from. this is your starting point, your home base, your main character energy origin story π«namefmtβ the format string. yes bestie, a printf-style format string, she's flexible like that β¨apβ ava_listof varargs. it's giving "I already got my args packed up, just hand me the list" π¦
π¦ DESCRIPTION π¦
so here's the tea, bestie β
hdf_get_valuevf walks the data set that hdf points to, using namefmt printf-expanded with the varargs in ap, and then returns the string value hanging out at that spot. if it's not there? you get NULL. that's it, that's the whole vibe. π³οΈ
and here's the part that makes her different from her sister hdf_get_value β there is no default value possible with this one. none. zero. nope. hdf_get_value will let you hand over a fallback if the node's missing, but hdf_get_valuevf does NOT do that. it's all or nothing, iconic behavior honestly π
π RETURN VALUE π
None
not me reading the docs and the return value section just saysNoneπ the description clearly says it returns a string value orNULL, but the manpage itself saysNone, and bestie I am not editing the source material. keeping the facts exactly as they are, periodt. π
πΈ SEE ALSO πΈ
the whole HDF friend group showed up, and I mean the whole group chat:
hdf_set_symlink(3)hdf_get_valuef(3)compareFunc)(3)hdf_dump_str(3)hdf_get_int_value(3)hdf_read_string_ignore(3)hdf_copy(3)hdf_get_node(3)hdf_set_value(3)hdf_obj_child(3)hdf_read_string(3)hdf_set_buf(3)hdf_register_fileload(3)hdf_get_obj(3)hdf_get_attr(3)hdf_obj_top(3)hdf_dump_format(3)hdf_destroy(3)hdf_init(3)hdf_obj_value(3)hdf_write_string(3)hdf_set_valuevf(3)hdf_sort_obj(3)hdf_write_file_atomic(3)hdf_obj_attr(3)hdf_set_valuef(3)hdf_get_copy(3)hdf_write_file(3)hdf_get_valuevf(3)hdf_set_int_value(3)hdf_dump(3)hdf_get_value(3)hdf_set_copy(3)hdf_obj_next(3)hdf_search_path(3)hdf_obj_name(3)hdf_set_attr(3)hdf_get_child(3)hdf_remove_tree
(and yes, hdf_get_valuevf(3) references herself in her own SEE ALSO. self-love queen. we stan π)
okay that's the whole page bestie!! go forth and get those values π
this absolute gem comes to you from the ClearSilver fam, dated 12 July 2007 β vintage, but she still hits πβ¨
π¦ where this page comes from
- debian bookworm: clearsilver-dev 0.10.5-4+b5
- debian trixie: clearsilver-dev 0.10.5-6+b1
- epel 10: clearsilver 0.10.5-80.el10_2 Β· Apache-1.1
- epel 9: clearsilver 0.10.5-74.el9 Β· Apache-1.1
- fedora 43: clearsilver 0.10.5-80.fc43 Β· Apache-1.1
- fedora 44: clearsilver 0.10.5-82.fc44 Β· Apache-1.1
- ubuntu jammy: clearsilver-dev 0.10.5-4build3
- ubuntu noble: clearsilver-dev 0.10.5-4build7
- ubuntu questing: clearsilver-dev 0.10.5-6build1
- ubuntu resolute: clearsilver-dev 0.10.5-7
- ubuntu stonking: clearsilver-dev 0.10.5-7build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms