EC_PNODE_FREE_CHILDREN(3)
π ec_pnode_free_children(3) π
okay bestie, welcome to the Libecoli Programmer's Manual β¨ this one's short and sweet, no cap β it's literally one function and it does exactly one thing: it goes "everybody out of the pool" to a node's kids π«Ά
π NAME π
ec_pnode_free_children β remove and free all the children of a parsing tree node π³π
like. ALL of them. every single one. gone. slay.
β¨ SYNOPSIS β¨
#include <ecoli/parse.h>
void ec_pnode_free_children(
struct ec_pnode *pnode /* Node whose children will be freed. */
);
so you're passing in a pointer to a struct ec_pnode β that's the pnode β and it's the node whose children are about to get absolutely obliterated π it returns void because there is nothing to report back. no return value, no drama, no nothing. it just does the thing π§
π SEE ALSO π
the whole friend group, fr fr β go read these too:
ec_pnode_len(3)ec_pnode_get_strvec(3)ec_parse(3)ec_parse_strvec(3)ec_pnode(3)ec_pnode_get_root(3)ec_pnode_get_parent(3)ec_pnode_find_next(3)ec_pnode_get_first_child(3)ec_pnode_free(3)ec_pnode_dup(3)ec_pnode_matches(3)ec_pnode_dump(3)ec_pnode_unlink_child(3)ec_pnode_next(3)ec_pnode_del_last_child(3)ec_pnode_link_child(3)ec_pnode_count(3)ec_pnode_get_attrs(3)ec_pnode_get_last_child(3)ec_pnode_get_node(3)ec_pnode_find(3)ec_parse_child(3)
it's giving very much "read the whole trilogy" energy, and honestly? obsessed ππ
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the page babes π¦ this was libecoli, dated 2026-06-11, and the manual page is EC_PNODE_FREE_CHILDREN(3) π go forth and free some children (the tree-node kind, obviously π) β periodt π
β¨
π¦ 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