unibi_str_from_var(3)
π unibi_str_from_var β the unibilium girlies' guide to wrapping ur little values π
okay so bestie, we're in section 3 of the unibilium manual, and today's main character is unibi_str_from_var(3). she's not alone tho β she rolls with a whole squad: unibi_num_from_var, unibi_var_from_num, and unibi_var_from_str. together they're the create-and-inspect-unibi_var_t-values friend group. no cap. π«Ά
β¨ NAME β¨
unibi_num_from_var, unibi_str_from_var, unibi_var_from_num, unibi_var_from_str β create and inspect unibi_var_t values π
πΈ SYNOPSIS πΈ
#include <unibilium.h>
int unibi_num_from_var(unibi_var_t v);
const char *unibi_str_from_var(unibi_var_t v);
unibi_var_t unibi_var_from_num(int i);
unibi_var_t unibi_var_from_str(char *s);
π¦ DESCRIPTION π¦
so like, <purple>unibi_var_from_num</purple> and <purple>unibi_var_from_str</purple> are the glow-up artists of this whole operation β they take the int or the string you hand them and wrap it up all cute inside a unibi_var_t object, so it's ready to be passed into unibi_format(3) and unibi_run(3). it's giving gift-wrapped. π
then on the flip side we got the inspectors, and ngl they're picky in the best way:
unibi_num_from_var(v)hands you back the number stored invβ butvmust have been constructed by<purple>unibi_var_from_num</purple>. that's the vibe check, no exceptions. π€unibi_str_from_var(v)hands you back the string stored invβ andvmust have been constructed by<purple>unibi_var_from_str</purple>. periodt. π
β οΈ and here's the part where u gotta listen bestie: it is an error to pass a wrapped string to<purple>unibi_num_from_var</purple>, or a wrapped number to<purple>unibi_str_from_var</purple>. like, do not do that. it's not slay, it's a mistake. ππ
π SEE ALSO π
and that's the whole page, bestie!! this was unibilium-2.1.4, dated 2026-09-07 β go forth and wrap ur vars responsibly, ily, 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