EC_INTERACT_PRINT_HELPS(3)
π EC_INTERACT_PRINT_HELPS(3) π
okay bestie so this is a page from the Libecoli Programmer's Manual and it's all about one little function, ec_interact_print_helps, which is here to print out the helps you already generated with ec_interact_get_helps(). yes, it's giving "print the thing you just made" energy and honestly? iconic. π
β¨ NAME β¨
ec_interact_print_helps β Print helps generated with ec_interact_get_helps().
like literally that's its whole job and it ate. π
πΈ SYNOPSIS πΈ
#include <ecoli/interact.h>
int ec_interact_print_helps(
FILE *out, /* The pointer to the output stream. */
unsigned int width, /* The number of columns on terminal. */
/*
* The helps array returned by ec_interact_get_helps().
*/
const struct ec_interact_help *helps,
/*
* The array size returned by ec_interact_get_helps().
*/
size_t n
);
so you're passing in:
outβ the pointer to the output stream, like where the words actually go. stream queen πwidthβ the number of columns on terminal, so it knows how much room it's working with fr frhelpsβ the helps array returned byec_interact_get_helps(), no cap, that's where it came fromnβ the array size returned byec_interact_get_helps()π¦
π§ STRUCTURES π§
A structure describing a contextual help. it's very demure, very mindful, and it looks like this:
struct ec_interact_help {
};
yes bestie that's the whole thing, it's an empty struct in the source, we do not make the rules, we just print them πβ¨
π RETURN VALUE π
0 on success, or -1 on error. that's it, that's the vibe check π«Ά
π SEE ALSO π
the group chat, the whole squad, everybody's here, go read these too:
ec_interact_get_completions(3)ec_interact_print_error_helps(3)ec_interact_print_cols(3)ec_interact_set_help(3)ec_interact_append_chars(3)ec_interact_set_desc(3)ec_interact_get_callback(3)ec_interact_set_callback(3)ec_interact_get_error_helps(3)ec_interact_free_completions(3)ec_interact_get_helps(3)ec_interact_free_helps(3)
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry. π
and that's the whole page bestie, mwah π
libecoli Β· 2026-06-11 Β· EC_INTERACT_PRINT_HELPS(3) β stay slay, read your man pages, 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