GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
doc::unibi_set_bool(3) unibilium doc::unibi_set_bool(3)

unibi_get_bool, unibi_set_bool, unibi_get_num, unibi_set_num, unibi_get_str, unibi_set_str - access the capabilities of a terminal object

 #include <unibilium.h>
 
 int unibi_get_bool(const unibi_term *ut, enum unibi_boolean b);
 void unibi_set_bool(unibi_term *ut, enum unibi_boolean b, int x);
 
 int unibi_get_num(const unibi_term *ut, enum unibi_numeric n);
 void unibi_set_num(unibi_term *ut, enum unibi_numeric n, int x);
 
 const char *unibi_get_str(const unibi_term *ut, enum unibi_string s);
 void unibi_set_str(unibi_term *ut, enum unibi_string s, const char *x);

Get/set boolean, numeric, and string capabilities. Absent numeric capabilities are represented as "-1", absent string capabilities as "NULL".

Note that "unibi_set_str" simply stores the pointer it is given; it will not free x or make a copy of the string.

unibilium.h(3)
2019-08-11 unibilium-2.0.0

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.