Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

idn_version_idnatable (3)

Name

idn_version_idnatable - idn_version_unicode, idn_version_idnatable, idn_version_libidn, get a version string about idnkit

Synopsis

#include <idn/version.h>

const char *
idn_version_unicode(void);

const char *
idn_version_idnatable(void);

const char *
idn_version_libidn(void);

const char *
idn_version_getstring(void);

Description

idn_version_getstring(3)   Library Functions Manual   idn_version_getstring(3)



NAME
       idn_version_unicode,     idn_version_idnatable,     idn_version_libidn,
       idn_version_getstring - get a version string about idnkit

SYNOPSIS
       #include <idn/version.h>

       const char *
       idn_version_unicode(void);

       const char *
       idn_version_idnatable(void);

       const char *
       idn_version_libidn(void);

       const char *
       idn_version_getstring(void);


DESCRIPTION
       The function idn_version_unicode() returns a string of Unicode  version
       that libidnkit (or libidnkitlite) currently supports.  For example, the
       string "6.0.0" is returned if the library supports Unicode 6.0.0.

       The function idn_version_idnatable() returns a string of IDNA propterty
       table that libidnkit (or libidnkitlite) currently supports.  Its format
       is "Reference file (Last modified date)".  For example, a  string  like
       "rfc6452 (2011-11-14)" is returned.

       The  function  idn_version_libidn()  returns  a string of libidnkit (or
       libidnkitlite).  For example, the string "2.2" is returned.

       The function idn_version_getstring() returns a  string  which  contains
       version strings returned from idn_version_unicode(), idn_version_idnat-
       able() and idn_version_libidn().  For example, it returns a  string  as
       below:

           library version: Unicode version: 6.0.0; IDNA Table version: rfc6452 (2011-11-14); libidn version: 2.2

       All the functions return pointers to the static strings.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------------------+
       |ATTRIBUTE TYPE |       ATTRIBUTE VALUE        |
       +---------------+------------------------------+
       |Availability   | library/idnkit/header-idnkit |
       +---------------+------------------------------+
       |Stability      | Committed                    |
       +---------------+------------------------------+
SEE ALSO
       libidnkit(3)



NOTES
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source was downloaded from  https://jprs.co.jp/idn/idnkit-2.3.tar.bz2

       Further information about this software can be found on the open source
       community website at https://jprs.co.jp/idn.



                                 Sep 21, 2012         idn_version_getstring(3)