unibi_from_env(3)

✨ unibi_from_env(3) ✨

okay bestie, quick vibe check πŸ’… you're in the unibilium manual, and this lil page is literally about one function that goes and finds your terminfo entry for you. no cap.


🌸 NAME 🌸

unibi_from_env β€” read the terminfo entry specified by TERM 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <unibilium.h>

unibi_term *unibi_from_env(void);

like. that's it. that's the whole signature. she's tiny and she's iconic πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜• this function is lowkey just a middleman β€” it calls unibi_from_term with the value of the environment variable TERM. that's the entire plot. no twist, no drama, just a lil handoff 🫴✨

so whatever your TERM is set to, that's what it's gonna go look up. periodt.


πŸ’– RETURN VALUE πŸ’–

ngl, she doesn't do her own thing here β€” go read unibi_from_term(3) for the deets on what you get back. it's giving "ask my friend, she knows" 😭


🌈 SEE ALSO 🌈


fr fr bestie, don't forget unibi_destroy(3) β€” you gotta clean up after yourself or the memory leak is gonna be your villain origin story πŸ’€

and that's the whole page, babe πŸ“ this was unibilium-2.1.4, dated 2026-09-07 β€” thanks for reading, you ate, mwah πŸŽ€πŸ’œ

πŸ“¦ where this page comes from