unibi_set_ext_num_name(3)
β¨ NAME β¨
okay so bestie, this is the unibilium page for 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 β they're the ones that 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, six little functions, all besties, all serving π«Ά
π DESCRIPTION π
So what these do is get and set the names of extended boolean, numeric, and string capabilities. three flavors, one vibe. β¨
i is the index of the extended capability you're acting on β like, which one are we talking about, bestie. and it must be less than unibi_count_ext_bool(ut), unibi_count_ext_num(ut), or unibi_count_ext_str(ut), respectively. no off-by-one shenanigans, iykyk. π
π¨ okay important, no cap:"unibi_set_ext_bool_name","unibi_set_ext_num_name", and"unibi_set_ext_str_name"literally just store the pointer they're given. they will not freesand they will not make a copy of the string. it's giving borrowed pointer energy. so like, don't go freeingsand then wondering why everything's cursed π that's a you problem, not a them problem.
π SEE ALSO π
and that's the whole page, bestie!! this was unibilium-2.1.4, dated 2026-09-07, and it's the unibi_set_ext_num_name(3) era β ate, no crumbs, periodt πππ¦
π¦ 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