1doc::unibi_get_str(3)              unibilium             doc::unibi_get_str(3)
2
3
4

NAME

6       unibi_get_bool, unibi_set_bool, unibi_get_num, unibi_set_num,
7       unibi_get_str, unibi_set_str - access the capabilities of a terminal
8       object
9

SYNOPSIS

11        #include <unibilium.h>
12
13        int unibi_get_bool(const unibi_term *ut, enum unibi_boolean b);
14        void unibi_set_bool(unibi_term *ut, enum unibi_boolean b, int x);
15
16        int unibi_get_num(const unibi_term *ut, enum unibi_numeric n);
17        void unibi_set_num(unibi_term *ut, enum unibi_numeric n, int x);
18
19        const char *unibi_get_str(const unibi_term *ut, enum unibi_string s);
20        void unibi_set_str(unibi_term *ut, enum unibi_string s, const char *x);
21

DESCRIPTION

23       Get/set boolean, numeric, and string capabilities. Absent numeric
24       capabilities are represented as "-1", absent string capabilities as
25       "NULL".
26
27       Note that "unibi_set_str" simply stores the pointer it is given; it
28       will not free x or make a copy of the string.
29

SEE ALSO

31       unibilium.h(3)
32
33
34
35unibilium-2.1.1                   2021-10-14             doc::unibi_get_str(3)
Impressum