EC_NODE_ITER_GET_PARENT(3)

πŸ“¦
version 0.11.7 Β· 3 versions
, in fedora 44

🌸 ec_node_iter_get_parent β€” from the Libecoli Programmer's Manual πŸ’…

okay bestie, pull up a chair, we're doing a little iterator family reunion today 🫢 this is the page for ec_node_iter_get_parent(3) and honestly? it's giving "who's your daddy" but make it a C library ✨


✨ NAME ✨

ec_node_iter_get_parent β€” get the parent of an iterator node πŸ’–

like, literally. that's the whole job. it finds the parent. iconic behavior, no notes.


πŸŽ€ SYNOPSIS πŸŽ€

#include <ecoli/node.h>

struct ec_node_iter * ec_node_iter_get_parent(
    struct ec_node_iter   *iter   /* The iterator node. */
);

so you're passing in a struct ec_node_iter * called iter β€” that's the iterator node, the lil guy whose parent you're trying to find 🌸 β€” and you get back a struct ec_node_iter *. that's it. that's the function. clean. minimal. we love a one-argument queen πŸ‘‘


πŸ”₯ RETURN VALUE πŸ”₯

the parent of the iterator node, inside the iterator tree 🌳✨

and if iter is the root?? it returns NULL, because the root has no parent, it's the main character and it answers to nobody πŸ’€πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

bestie there is a whole friend group here, and we're not leaving a single one out, not even the quiet ones 🫢 go read these too:


Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.


and that's the whole page, bestie πŸ’œ no cap, every last detail is right here. this page came from libecoli, dated 2026-06-11 β€” go forth and find your parents, iterator 🌈✨ bye babes πŸŽ€

πŸ“¦ where this page comes from