unibi_set_ext_str(3)
π unibi_set_ext_str β extended capabilities, but make it a whole vibe π
okay bestie, so this is the unibilium girlies' guide to the extended capabilities of a terminal object π«Ά it lives in the unibi_set_ext_str(3) corner of the manual, and honestly? she's giving very specific but very powerful.
β¨ 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 β access 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);
look at that lineup π six little icons, all doing the most for your terminal. π
β¨ DESCRIPTION β¨
So basically: get/set extended boolean, numeric, and string capabilities. that's the whole gig, no cap. π
i is the index of the extended capability you're acting on β think of it as her seat number at the function. and the rule is strict, bestie: it must be less than unibi_count_ext_bool(ut), unibi_count_ext_num(ut), or unibi_count_ext_str(ut), respectively. like, matching each one to its own counter, obviously. don't mix them up, that's not the vibe. π
not me needing to say this but:unibi_set_ext_strsimply stores the pointer it is given. it will not freesand it will not make a copy of the string. so like, the pointer is yours to look after, periodt. if the string it's pointing at goes away, that's a you problem, not hers. π
β¨ SEE ALSO β¨
and that's the tea, bestie π go forth and set those extended capabilities, you absolute icon. mwah π
this page came to you from unibilium-2.1.4, dated 2026-09-07 β yeah, she's fresh β¨ don't forget her π
π¦ 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