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_bool
  • unibi_name_num
  • unibi_name_str
  • unibi_short_name_bool
  • unibit_short_name_num
  • unibi_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