unibi_short_name_num(3)
π unibi_short_name_num(3) π
okay bestie, so this one lives in the unibilium manual (section 3, library calls, you know the vibe) π«Ά and it's literally just the cutest little name-translator ever. no cap.
β¨ NAME β¨
unibi_name_bool, unibi_name_num, unibi_name_str, unibi_short_name_bool, unibit_short_name_num, unibi_short_name_str β translate capability enums to names π
(and yes, unibit_short_name_num is spelled exactly like that in here, one little i doing its own thing, we don't question it, we respect it π
)
πΈ 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 these functions hand you back the names of capabilities as strings. that's the whole job. they ate and left no crumbs π
by default you get the long names, aka the "variable names" β the full-length, main-character versions of the name.
but if you're feeling β¨efficientβ¨, the unibi_short_name_* variants give you the shorter "capnames" instead. same capability, tinier name, still iconic. π
π 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 how it goes from the long has_status_line to the lil hs? it's giving glow-up in reverse and we're obsessed π
π SEE ALSO π
unibilium.h(3)β go read the header bestie, it's the source of truth π§
π reminder: keep every option, every name, every spelling exactly as it is. this page is a vibe translation, not a rewrite of the actual API. iykyk.
and that's a wrap, babe π this page came from unibilium-2.1.4, dated 2026-09-07, and it answers to the name unibi_short_name_num(3). periodt. β¨ππ«Ά
π¦ 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