unibi_short_name_str(3)
π NAME π
okay so bestie, welcome to unibilium, section 3 β this is the page for the little crew of functions that translate capability enums to names. they're all here:
unibi_name_boolunibi_name_numunibi_name_strunibi_short_name_boolunibit_short_name_numunibi_short_name_str
yes, that's the whole squad. one job: you hand over a capability enum, they hand back a name. iconic behaviour honestly. π
β¨ SYNOPSIS β¨
#include <unibilium.h>
const char *unibi_name_bool(enum unibi_boolean b);
const char *unibi_name_num(enum unibi_numeric n);
const char *unibi_name_str(enum unibi_string s);
const char *unibi_short_name_bool(enum unibi_boolean b);
const char *unibi_short_name_num(enum unibi_numeric n);
const char *unibi_short_name_str(enum unibi_string s);
π¦ DESCRIPTION π¦
so like, these functions return the names of capabilities as strings. that's the vibe. that's the whole thing. π
by default you get the long names β the "variable names", the ones that spell everything out, main character energy, no abbreviations, no shortcuts.
but the unibi_short_name_* variants? those serve you the shorter ones, the "capnames". same info, tiny little glow-up. like going from "has_status_line" to "hs". β¨
π EXAMPLE π
#include <stdio.h>
#include <unibilium.h>
int main(void) {
printf("%s - %s\n", unibi_name_bool(unibi_has_status_line), unibi_short_name_bool(unibi_has_status_line));
/* Output:
has_status_line - hs
*/
}
see?? long name, dash, short name, and the output is literally right there in the comment:
has_status_line - hs
ate. no crumbs. π
πΈ SEE ALSO πΈ
fr fr, that's the entire page. short, sweet, and lowkey essential β iykyk. π«Ά
and that's a wrap on this one, bestie! this page came to you from unibilium-2.1.4, dated 2026-09-07 β so if you're reading it, that's the version and that's the date, and honestly? slay. ππβ
π¦ 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