EC_COMP_ITEM_GET_STR(3)

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

πŸ’– 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:


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