Hi all - I had a use-case where I needed s6-tcpclient to be completely silent, no matter the error (my existing system reads standard output and standard error, and tries to parse it). Long-term, I'm going to change the system to log (but not parse) standard error from child processes. In the
Hey, So I've been using avltree & gensetdyn (amongst others) lately in a little project of mine, and I have some questions: - When using avltree_iter() we need to pass a avliterfunc_t_ref, which takes 3 arguments. If I understand correctly, first is the uint32_t index, then the tree's
Many thanks for the explaination/clarifications! > avltree_iter isn't meant to perform operations that modify the > structure > of the tree. It *may* work, but there's no guarantee it will - and > typically, if you modify the tree, later values for node height will > certainly be incorrect.
Ok, so let me ask you this: I want to delete my avltree. That is, I'd like to remove all its nodes and be done with it, i.e. I need to free all memory associated with it. I guess avltree_free() is enough, no need to delete each node individually? Yes, avltree_free() is enough, because an
- When using avltree_iter() we need to pass a avliterfunc_t_ref, which takes 3 arguments. If I understand correctly, first is the uint32_t index, then the tree's "internal" (unsigned int) index, and my pointer. "The uint32_t index" is confusing terminology, so to clarify, I call this number