EC_NODE_ITER_NEXT(3)
β¨ EC_NODE_ITER_NEXT π
okay bestie, welcome to the Libecoli Programmer's Manual π β yes we're in the Libecoli section, no you may not skip ahead, this is important.
πΈ NAME πΈ
ec_node_iter_next β literally just... move to the next node. that's it. that's the whole job. iconic behaviour honestly π
π¦ SYNOPSIS π¦
#include <ecoli/node.h>
struct ec_node_iter * ec_node_iter_next(
struct ec_node_iter *root, /* The iterator returned by ec_node_iter(). */
struct ec_node_iter *iter, /* The current node in the iterator. */
/*
* True to iterate the children of "iter", false to skip them.
*/
bool iter_children
);
so you're passing in root (that's the iterator ec_node_iter() handed you, bestie), iter (the node you're on rn), and iter_children β and the comment in the source says it all: True to iterate the children of "iter", False to skip them. simple. clean. slay π
π DESCRIPTION π
ngl, there's not much here β you gotta go read ec_node_iter(), bestie. that's where the lore lives. this page is giving "see also, but make it the description" π
β RETURN VALUE β
you get the next node of the iterator. that's the win. π«Ά
and if the iteration is finished? you get NULL. that's it, that's the end, wrap it up, the party's over π
π SEE ALSO π
the whole friend group showed up, omg:
ec_node_check_type(3)ec_node_iter(3)ec_node_attrs(3)ec_node_find(3)ec_node_type_name(3)ec_node_free(3)ec_node_id(3)ec_node_type_dump(3)ec_node_get_config(3)ec_node_schema_dump(3)ec_node_priv(3)ec_node_type_lookup(3)ec_node_clone(3)ec_node_dump(3)ec_node_desc(3)ec_node_iter_free(3)ec_node_iter_get_parent(3)ec_node_from_type(3)ec_node_type(3)ec_node_type_schema(3)ec_node(3)ec_node_get_children_count(3)ec_node_get_type_name(3)ec_node_type_register(3)ec_node_set_config(3)ec_node_iter_get_node(3)ec_node_get_child(3)
like I said. the whole squad. go say hi π
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the page, bestie!! π this was libecoli, dated 2026-06-11, filed under EC_NODE_ITER_NEXT(3) β go forth and iterate responsibly, mwah π§β¨
π¦ where this page comes from
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms