EC_INTERACT_GET_ERROR_HELPS(3)

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

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


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