unibi_get_name(3)

unibi_get_name3

Access the name of a terminal object

Usage

 #include <unibilium.h>
 
 const char *unibi_get_name(const unibi_term *ut);
 void unibi_set_name(unibi_term *ut, const char *s);

Overview

"unibi_get_name" gets the name from ut; "unibi_set_name" sets the name to s.

Note that "unibi_set_name" simply stores the pointer it is given; it will not free s or make a copy of the string.

Return value

"unibi_get_name" returns a pointer to the name of the terminal; this either comes from a terminfo entry (the part after the last '|' in the name section) or was set by "unibi_set_name".

Releases

6 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11–12
  4. 13
  5. Arch

From unibilium 2.1.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.