unibi_get_ext_bool_name(3)

unibi_get_ext_bool_name β€” bestie edition πŸ’–

okay so this is one of those unibilium pages (that's the manual, section 3, the library-call girlies) and it's literally all about the names of extended capabilities on a terminal object. yes. the names. not the values. the names. we're doing name tag duty today πŸŽ€


✨ NAME ✨

unibi_get_ext_bool_name, unibi_set_ext_bool_name, unibi_get_ext_num_name, unibi_set_ext_num_name, unibi_get_ext_str_name, unibi_set_ext_str_name β€” the whole lil squad that handles access the names of extended capabilities of a terminal object. six functions, one job, no cap πŸ’…


🌸 SYNOPSIS 🌸

#include <unibilium.h>

const char *unibi_get_ext_bool_name(const unibi_term *ut, size_t i);
const char *unibi_get_ext_num_name(const unibi_term *ut, size_t i);
const char *unibi_get_ext_str_name(const unibi_term *ut, size_t i);

void unibi_set_ext_bool_name(unibi_term *ut, size_t i, const char *s);
void unibi_set_ext_num_name(unibi_term *ut, size_t i, const char *s);
void unibi_set_ext_str_name(unibi_term *ut, size_t i, const char *s);

three getters, three setters, perfectly balanced, as all things should be ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: get/set the names of extended boolean, numeric, and string capabilities. that's the whole vibe. the extended caps said "i have a name" and these functions said "bet, we'll hold it for you" 🫢

i is the index of the extended capability to act on β€” think of it like the seat number at a concert, bestie. and it must be less than one of these, depending on which flavor you're using:

  • unibi_count_ext_bool(ut) β€” for the boolean girlies
  • unibi_count_ext_num(ut) β€” for the numeric girlies
  • unibi_count_ext_str(ut) β€” for the string girlies
⚠️ okay listen, this is the important part, do not skip it: unibi_set_ext_bool_name, unibi_set_ext_num_name, and unibi_set_ext_str_name simply store the pointer they are given β€” they will not free s and they will not make a copy of the string. it's giving "we're holding your pointer, not your hand." so like… keep that memory alive yourself, okay?? the pointer is on you. literally. πŸ”₯

πŸ’œ SEE ALSO πŸ’œ

  • unibilium.h(3) β€” go read the header bestie, it knows things πŸ’«

and that's the tea β˜•βœ¨ go name some capabilities, you icon. mwah πŸ’‹

unibilium-2.1.4 β€” dated 2026-09-07 🌈 that's the version and the date, sign-off style, love u, bye πŸŽ€πŸ’–

πŸ“¦ where this page comes from