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