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


Manual Reference Pages  -  UNIBI_ADD_EXT_STR (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS



 #include <unibilium.h>

 size_t unibi_add_ext_bool(unibi_term *ut, const char *t, int b);
 size_t unibi_add_ext_num(unibi_term *ut, const char *t, short v);
 size_t unibi_add_ext_str(unibi_term *ut, const char *t, const char *s);



DESCRIPTION

Add an extended boolean, numeric, or string capability with the specified name and value.

Note that these functions simply store any pointers they are given. They will not free t or s or copy any strings.

RETURN VALUE

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

SEE ALSO

unibilium.h(3), unibi_del_ext_bool(3), unibi_del_ext_num(3), unibi_del_ext_str(3)
Search for    or go to Top of page |  Section 3 |  Main Index


unibilium-1.2.0 DOC::UNIBI_ADD_EXT_STR (3) 2015-08-14

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