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 girliesunibi_count_ext_num(ut)β for the numeric girliesunibi_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, andunibi_set_ext_str_namesimply store the pointer they are given β they will notfreesand 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
- fedora 44: unibilium-devel 2.1.4-1.fc44 Β· LGPL-3.0-or-later
- fedora 44: unibilium-devel 2.1.4-1.fc44 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms