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_NAME_STR (3)

.ds Aq ’

NAME

unibi_name_bool, unibi_name_num, unibi_name_str, unibi_short_name_bool, unibit_short_name_num, unibi_short_name_str - translate capability enums to names

CONTENTS

SYNOPSIS



 #include <unibilium.h>

 const char *unibi_name_bool(enum unibi_boolean b);
 const char *unibi_name_num(enum unibi_numeric n);
 const char *unibi_name_str(enum unibi_string s);

 const char *unibi_short_name_bool(enum unibi_boolean b);
 const char *unibi_short_name_num(enum unibi_numeric n);
 const char *unibi_short_name_str(enum unibi_string s);



DESCRIPTION

These functions return the names of capabilities as strings. By default long names (variable names) are returned; the unibi_short_name_* variants use the shorter capnames.

EXAMPLE



 #include <stdio.h>
 #include <unibilium.h>

 int main(void) {
   printf("%s - %s\n", unibi_name_bool(unibi_has_status_line), unibi_short_name_bool(unibi_has_status_line));
   /* Output:
      has_status_line - hs
   */
 }



SEE ALSO

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


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

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