unibi_set_ext_bool(3)

✨ unibi_set_ext_bool β€” access the extended capabilities of a terminal object ✨

okay bestie, so this is from the unibilium manual, section 3, and it's literally all about the extended capabilities of a terminal object 🫢 and yes the page title is unibi_set_ext_bool(3) because one of the six functions had to be the main character πŸ‘‘


🌸 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 β€” the way these six besties give you access to 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 are your get/set girlies for extended boolean, numeric, and string capabilities πŸ’–

i is the index of the extended capability you're acting on. and no cap, it must be less than unibi_count_ext_bool(ut), unibi_count_ext_num(ut), or unibi_count_ext_str(ut) respectively β€” like, respect the bounds or it's giving chaos πŸ”₯

⚠️ okay this one's important so listen up: "unibi_set_ext_str" simply stores the pointer it is given. it will not free s, and it will not make a copy of the string. it's just holding onto your pointer, bestie, no strings attached (literally) πŸ’€

πŸ’œ SEE ALSO πŸ’œ


and that's the whole vibe, bestie β€” go forth and slay those extended capabilities 🧚✨

this page came to you courtesy of unibilium-2.1.4, dated 2026-09-07 🌈 mwah, love u, bye πŸ’–

πŸ“¦ where this page comes from