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 avlt
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.
- 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
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 "intern
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).
Sorry, not applying this patch. Parsing stderr is not supported:
this would make error message format a public
If the user passes "-s" to s6-tcpclient, all warning and
error messages will be supressed, making s6-tcpclient
completely transparent.
---
doc/s6-tcpclient.html | 3 +-
src/conn-tools/s6-tcpclient.c | 73 +++
2 files changed, 41 insertions(+), 35 de
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 mean