EC_NODE_DESC(3)
β¨ EC_NODE_DESC(3) β¨
okay so bestie, welcome to ec_node_desc β part of the Libecoli Programmer's Manual π this one's short and sweet and honestly? it's giving little helper that just tells you things π
πΈ NAME πΈ
ec_node_desc β Get node short description. that's it, that's the whole vibe π¦
π SYNOPSIS π
#include <ecoli/node.h>
char * ec_node_desc(
const struct ec_node *node /* The grammar node. */
);
so you're passing in node, which is the grammar node π one arg, no drama, we love a low-maintenance function fr fr β¨
π«Ά RETURN VALUE π«Ά
you get back an allocated string holding the node's short description β and heads up bestie, YOU have to free it π it's yours now, it's your responsibility, the caller frees it, no cap. if something goes wrong you just get NULL back, and that's the error signal π
reminder: allocated string = must be freed by the caller. do not ghost it. it WILL leak. π
π SEE ALSO π
the whole friend group, all invited to the group chat π:
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_iter_free(3)ec_node_iter_get_parent(3)ec_node_from_type(3)ec_node_type(3)ec_node_iter_next(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)
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry. iconic behavior, honestly π
mwah π that's a wrap! this page came from libecoli, dated 2026-06-11, and it lives in section EC_NODE_DESC(3) β 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