EC_INTERACT_PRINT_HELPS(3)

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

πŸ’– 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 fr
  • helps β€” the helps array returned by ec_interact_get_helps(), no cap, that's where it came from
  • n β€” the array size returned by ec_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:


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