unibi_set_ext_num(3)
β¨ unibi_set_ext_num(3) β the unibilium girlies' guide to ext capabilities β¨
okay bestie, so this one lives in unibilium (that's the manual name, cute right?) and it's literally the whole extended-capability situation. booleans, numbers, strings β get 'em, set 'em, slay. π
πΈ NAME πΈ
unibi_get_ext_bool, unibi_set_ext_bool, unibi_get_ext_num, unibi_set_ext_num, unibi_get_ext_str, unibi_set_ext_str β get and set the extended capabilities of a terminal object π₯οΈπ
π SYNOPSIS π
#include <unibilium.h>
int unibi_get_ext_bool(const unibi_term *ut, size_t i);
int unibi_get_ext_num(const unibi_term *ut, size_t i);
const char *unibi_get_ext_str(const unibi_term *ut, size_t i);
void unibi_set_ext_bool(unibi_term *ut, size_t i, int b);
void unibi_set_ext_num(unibi_term *ut, size_t i, int v);
void unibi_set_ext_str(unibi_term *ut, size_t i, const char *s);
π¦ DESCRIPTION π¦
so basically: these functions get and set the extended boolean, numeric, and string capabilities. iconic. no cap.
i is the index of the extended capability you're acting on, and here's the vibe check β it must be less than:
unibi_count_ext_bool(ut)for the boolean ones,unibi_count_ext_num(ut)for the numeric ones,unibi_count_ext_str(ut)for the string ones.
respectively, bestie. each one's got its own count. π«Ά
π¨ okay listen βunibi_set_ext_strliterally just stores the pointer it's given. it will not frees, and it will not make a copy of the string. so if you hand it a pointer to something that goes poof, that's on you, not on unibilium. π keep that string alive fr fr.
π SEE ALSO π
and that's the whole page, bestie β¨ this was unibilium-2.1.4, dated 2026-09-07, and it's giving main character energy from start to finish. go forth and set those ext nums. πππ
π¦ 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