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

NAME

6       unibi_add_ext_bool, unibi_add_ext_num, unibi_add_ext_str - add extended
7       capabilities to a terminal object
8

SYNOPSIS

10        #include <unibilium.h>
11
12        size_t unibi_add_ext_bool(unibi_term *ut, const char *t, int b);
13        size_t unibi_add_ext_num(unibi_term *ut, const char *t, int v);
14        size_t unibi_add_ext_str(unibi_term *ut, const char *t, const char *s);
15

DESCRIPTION

17       Add an extended boolean, numeric, or string capability with the
18       specified name and value.
19
20       Note that these functions simply store any pointers they are given.
21       They will not free t or s or copy any strings.
22

RETURN VALUE

24       The return value is the index of the new capability, which can be used
25       in unibi_get_ext_bool(3), unibi_set_ext_bool(3), etc. If an error
26       occurs, "SIZE_MAX" is returned.
27

SEE ALSO

29       unibilium.h(3), unibi_del_ext_bool(3), unibi_del_ext_num(3),
30       unibi_del_ext_str(3)
31
32
33
34unibilium-2.0.0                   2020-07-29         doc::unibi_add_ext_str(3)
Impressum