1doc::unibi_set_name(3) unibilium doc::unibi_set_name(3)
2
3
4
6 unibi_get_name, unibi_set_name - access the name of a terminal object
7
9 #include <unibilium.h>
10
11 const char *unibi_get_name(const unibi_term *ut);
12 void unibi_set_name(unibi_term *ut, const char *s);
13
15 "unibi_get_name" gets the name from ut; "unibi_set_name" sets the name
16 to s.
17
18 Note that "unibi_set_name" simply stores the pointer it is given; it
19 will not free s or make a copy of the string.
20
22 "unibi_get_name" returns a pointer to the name of the terminal; this
23 either comes from a terminfo entry (the part after the last '|' in the
24 name section) or was set by "unibi_set_name".
25
27 unibilium.h(3), unibi_get_aliases(3), unibi_set_aliases(3)
28
29
30
31unibilium-2.1.1 2022-01-22 doc::unibi_set_name(3)