1doc::unibi_get_ext_num_name(3) unibilium doc::unibi_get_ext_num_name(3)
2
3
4
6 unibi_get_ext_bool_name, unibi_set_ext_bool_name,
7 unibi_get_ext_num_name, unibi_set_ext_num_name, unibi_get_ext_str_name,
8 unibi_set_ext_str_name - access the names of extended capabilities of a
9 terminal object
10
12 #include <unibilium.h>
13
14 const char *unibi_get_ext_bool_name(const unibi_term *ut, size_t i);
15 const char *unibi_get_ext_num_name(const unibi_term *ut, size_t i);
16 const char *unibi_get_ext_str_name(const unibi_term *ut, size_t i);
17
18 void unibi_set_ext_bool_name(unibi_term *ut, size_t i, const char *s);
19 void unibi_set_ext_num_name(unibi_term *ut, size_t i, const char *s);
20 void unibi_set_ext_str_name(unibi_term *ut, size_t i, const char *s);
21
23 Get/set the names of extended boolean, numeric, and string
24 capabilities. i is the index of the extended capability to act on; it
25 must be less than "unibi_count_ext_bool(ut)",
26 "unibi_count_ext_num(ut)", or "unibi_count_ext_str(ut)", respectively.
27
28 Note that "unibi_set_ext_bool_name", "unibi_set_ext_num_name", and
29 "unibi_set_ext_str_name" simply store the pointer they are given; they
30 will not free s or make a copy of the string.
31
33 unibilium.h(3)
34
35
36
37unibilium-2.1.1 2021-10-14 doc::unibi_get_ext_num_name(3)