EC_INTERACT_GET_ERROR_HELPS(3)
π EC_INTERACT_GET_ERROR_HELPS π
okay bestie, so we're in the Libecoli Programmer's Manual and this one is literally about the function ec_interact_get_error_helps β it grabs you some suggestions after a parsing error hits, for the current line. yeah. the "omg what did I even type" rescue squad π«Ά
β¨ NAME β¨
ec_interact_get_error_helps β Get suggestions after a parsing error for the current line.
πΈ SYNOPSIS πΈ
#include <ecoli/interact.h>
ssize_t ec_interact_get_error_helps(
const struct ec_node *node, /* The pointer to the sh_lex grammar node. */
const char *line, /* The line from which to get error help. */
/*
* The pointer where the helps array will be returned.
*/
struct ec_interact_help **helps_out,
/*
* A pointer to an integer where the index of the error in the line string
* is returned.
*/
size_t *char_idx
);
like look at that signature. she's doing a lot but she's serving π
π STRUCTURES π
A structure describing a contextual help. it's giving "vessel for the wisdom":
struct ec_interact_help {
};
β RETURN VALUE β
The size of the array on success (>= 0), or -1 on error. no cap. if you get the -1, that's not the vibe check passing, that's the vibe check failing π
π¦ SEE ALSO π¦
your girls, your group chat, the whole squad β go read these too:
ec_interact_get_completions(3)ec_interact_print_helps(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_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 π§ this one came from libecoli, dated 2026-06-11, and it lives under the name EC_INTERA...RROR_HELPS(3) β yes the title is truncated like that, that's just how manpage headers do, iconic behavior honestly π 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