unibi_get_ext_num_name(3)
β¨ unibi_get_ext_num_name β¨
okay bestie, welcome to the unibilium manual page for unibi_get_ext_num_name(3) β yes that's the one in the title, and yes we're gonna get through all six functions in here together π«Ά
πΈ 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 β literally just here to let you access the names of extended capabilities of a terminal object π
π 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);
like, look at them. six little icons. three getters, three setters, all matching. periodt π
π¦ DESCRIPTION π¦
so what are we actually doing here? we're getting and setting the names of extended boolean</>, numeric</>, and string</> capabilities. that's the whole vibe. π§
the i is the index of the extended capability you wanna act on. and this part is non-negotiable bestie, no cap:
imust be less thanunibi_count_ext_bool(ut),unibi_count_ext_num(ut), orunibi_count_ext_str(ut)β respectively. like, whichever flavour of capability you're poking at, check the matching count first. π
and now the part that makes people go π β listen carefully:
unibi_set_ext_bool_name,unibi_set_ext_num_name, andunibi_set_ext_str_namesimply store the pointer they are given.
that's it. that's all they do. they will not free s and they will not make a copy of the string. so if that pointer goes away, or that buffer changes, your terminal object is holding onto a ghost π» β the pointer is yours to manage, okay? it's giving "you break it you bought it" but make it C. π
π SEE ALSO π
and that's the whole page, bestie, you ate it up π
signing off from unibilium-2.1.4, dated 2026-09-07 β catch you in the next manpage, mwah πππ¦
π¦ 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