Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 34 lines (21 sloc) 1.024 kb
29bc09d mauke documentation for extended capability stuff
authored
1 =pod
2
3 =head1 NAME
4
5 unibi_get_ext_bool, unibi_set_ext_bool, unibi_get_ext_num, unibi_set_ext_num, unibi_get_ext_str, unibi_set_ext_str - access the extended capabilities of a terminal object
6
7 =head1 SYNOPSIS
8
0e394fd mauke change to <unibilium.h> in the documentation
authored
9 #include <unibilium.h>
29bc09d mauke documentation for extended capability stuff
authored
10
11 int unibi_get_ext_bool(const unibi_term *ut, size_t i);
12 short unibi_get_ext_num(const unibi_term *ut, size_t i);
13 const char *unibi_get_ext_str(const unibi_term *ut, size_t i);
14
15 void unibi_set_ext_bool(unibi_term *ut, size_t i, int b);
16 void unibi_set_ext_num(unibi_term *ut, size_t i, short v);
17 void unibi_set_ext_str(unibi_term *ut, size_t i, const char *s);
18
19 =head1 DESCRIPTION
20
21 Get/set extended boolean, numeric, and string capabilities.
22 I<i> is the index of the extended capability to act on; it must be less than
23 C<unibi_count_ext_bool(ut)>, C<unibi_count_ext_num(ut)>, or
24 C<unibi_count_ext_str(ut)>, respectively.
25
26 Note that C<unibi_set_ext_str> simply stores the pointer it is given; it will
27 not free I<s> or make a copy of the string.
28
29 =head1 SEE ALSO
30
31 L<unibilium.h(3)>
32
33 =cut
Something went wrong with that request. Please try again.