EC_COMP_GROUP_GET_NODE(3)
π EC_COMP_GROUP_GET_NODE β bestie edition π
okay so this is a page from the Libecoli Programmer's Manual, section 3, and it's literally the shortest little bop ever. no cap. let's get into it π¦
β¨ NAME β¨
ec_comp_group_get_node β get the completion group node, bestie. that's it. that's the whole job. π
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the header, periodt:
#include <ecoli/complete.h>
and here's the function signature in all its glory β copy it character for character, don't you dare retype it from memory π:
const struct ec_node * ec_comp_group_get_node(
const struct ec_comp_group *grp /* The completion group. */
);
so yeah, you hand it a grp, which is The completion group, and it gives you back a const struct ec_node *. the way that this is just a getter and it ate π
lowkey thegrpparam is a pointer to aconst struct ec_comp_groupand the return type is a pointer to aconst struct ec_node. no extra flags, no extra args, no surprises. iconic behavior honestly.
π SEE ALSO π
here's the whole friend group β go say hi to all of them, they're all valid and they're all slaying in their own way:
ec_comp_add_item(3)ec_comp_count(3)ec_comp_item_set_str(3)ec_complete(3)ec_comp_get_attrs(3)ec_comp_group_get_attrs(3)ec_comp_iter_next(3)ec_comp_item_get_node(3)ec_comp_iter_first(3)ec_comp_item_get_current(3)ec_complete_strvec_expand(3)ec_comp_free(3)ec_comp_get_cur_pstate(3)ec_complete_unknown(3)ec_complete_strvec(3)ec_comp_item_get_grp(3)ec_comp_item_get_type(3)ec_comp_item_get_str(3)ec_comp_item_set_display(3)ec_complete_child(3)ec_comp(3)ec_comp_item_get_display(3)ec_comp_item_get_completion(3)ec_comp_group_get_pstate(3)ec_comp_dump(3)ec_comp_merge(3)ec_comp_item_set_completion(3)ec_comp_get_cur_group(3)
like, twenty-eight mutuals. main character energy from every single one of them π
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
give them their flowers, fr fr πΈ they built this whole thing.
and that's the vibe check, bestie β you're officially a completion-group-getting-node expert π this was libecoli, page dated 2026-06-11, section 3, and it's giving flawless documentation. 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