hdf_destroy(3)
π hdf_destroy β bestie, it's time to say goodbye π
okay so welcome to the hdf_destroy(3) page, from the util/neo_hdf.h world π¦ this is the one where we let a data set go. she's done her job, she's served cunt, and now we're freeing her. periodt.
β¨ NAME β¨
hdf_destroy β deallocate an HDF data set π
πΈ SYNOPSIS πΈ
#include <util/neo_hdf.h>
void hdf_destroy (HDF **hdf);
π ARGUMENTS π
hdfβ pointer to an HDF data set that you allocated withhdf_init. yes, it's a pointer to a pointer, she's fancy like that π
π DESCRIPTION π
so like, hdf_destroy is the function you call when you want to deallocate all the memory associated with an hdf data set. every last byte. gone. released. she's free π¦
π¨ okay bestie listen, this part is important: even though you can pass an HDF node as an argument to this function, you are likely to cause a segfault if you continue to access the data set afterwards. like, that memory is not yours anymore. do not touch. do not look at it. do not text it back. π
also, heads up for the future tea: in the future, we may restrict hdf_destroy so it only works on the top level node. so like, don't get too attached to the node-passing lifestyle, iykyk π
β RETURN VALUE β
None. nothing. void. she gives you nothing back and that's the vibe π
π SEE ALSO π
the whole friend group, fr fr β go read these next:
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 that's the page!! π«Ά this lil angel came to you courtesy of ClearSilver, dated 12 July 2007 β yes she's vintage, yes she still ate, no cap. stay memory-safe out there bestie, mwah πβ¨
π¦ 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