EC_COMP_ITEM_GET_STR(3)
π EC_COMP_ITEM_GET_STR(3) π
okay bestie, welcome to the Libecoli Programmer's Manual β¨ you're literally about to learn one tiny little function and honestly? it's giving main character energy π
β¨ NAME β¨
ec_comp_item_get_str β get the string value of a completion item π
like. that's it. that's the whole job. she gets the string. she's an icon, she's a legend, and she is the moment π
πΈ SYNOPSIS πΈ
#include <ecoli/complete.h>
const char * ec_comp_item_get_str(
const struct ec_comp_item *item /* The completion item. */
);
so you gotta pull in <ecoli/complete.h> first, no cap, and then you hand her a pointer to a struct ec_comp_item β that's the completion item, the little baby you're asking about π«Ά β and she hands you back a const char *. slay.
π RETURN VALUE π
the completion string of this item. that's the vibe. that's what you get back π
ngl bestie, it's a const char * so likeβ¦ look, don't go editing it, okay? it's const for a reason and the reason is respect π€
π¦ SEE ALSO π¦
so many sisters, so much lore, go read them all fr fr:
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_comp_group_get_node(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_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)
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the whole page, bestie ππ this was libecoli, dated 2026-06-11, and yes we're still on EC_COMP_ITEM_GET_STR(3) β go forth and get those strings, you absolute legend π§β¨ 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