ec_interact_print_cols - Man Page
Print completion matches as columns.
Synopsis
#include <ecoli/interact.h>
int ec_interact_print_cols(
FILE *out, /* The pointer to the output stream. */
unsigned int width, /* The number of columns on terminal. */
char const *const *matches, /* The string array of matches to display. */
size_t n /* The size of the array. */
);Return Value
0 on success, or -1 on error.
See Also
ec_interact_get_completions(3), ec_interact_print_helps(3), ec_interact_print_error_helps(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.
Referenced By
ec_interact_append_chars(3), ec_interact_free_completions(3), ec_interact_free_helps(3), ec_interact_get_callback(3), ec_interact_get_completions(3), ec_interact_get_error_helps(3), ec_interact_get_helps(3), ec_interact_print_error_helps(3), ec_interact_print_helps(3), ec_interact_set_callback(3), ec_interact_set_desc(3), ec_interact_set_help(3).