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_var_from_str(3) unibilium doc::unibi_var_from_str(3)

unibi_num_from_var, unibi_str_from_var, unibi_var_from_num, unibi_var_from_str - create and inspect unibi_var_t values

 #include <unibilium.h>

 int         unibi_num_from_var(unibi_var_t v);
 const char *unibi_str_from_var(unibi_var_t v);

 unibi_var_t unibi_var_from_num(int i);
 unibi_var_t unibi_var_from_str(char *s);

"unibi_var_from_num" and "unibi_var_from_str" wrap the given int or string in a "unibi_var_t" object for use in unibi_format(3) and unibi_run(3).

unibi_num_from_var(v) returns the number stored in v, which must have been constructed by "unibi_var_from_num". unibi_str_from_var(v) returns the string stored in v, which must have been constructed by "unibi_var_from_str".

It is an error to pass a wrapped string to "unibi_num_from_var" or a wrapped number to "unibi_str_from_var".

unibi_format(3), unibi_run(3), 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.