*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> kiconv_add_xlat16_cspair (3)              
Title
Content
Arch
Section
 

KICONV(3)

Contents


NAME    [Toc]    [Back]

     kiconv_add_xlat16_cspair, kiconv_add_xlat16_cspairs,
     kiconv_add_xlat16_table -- Kernel side iconv library

LIBRARY    [Toc]    [Back]

     Kernel side iconv library (libkiconv, -lkiconv)

SYNOPSIS    [Toc]    [Back]

     #include <sys/iconv.h>

     int
     kiconv_add_xlat16_cspair(const char *tocode, const char *fromcode,
	 int flag);

     int
     kiconv_add_xlat16_cspairs(const char *foreigncode,
	 const char *localcode);

     int
     kiconv_add_xlat16_table(const char *tocode, const char *fromcode,
	 const void *data, int datalen);

DESCRIPTION    [Toc]    [Back]

     The kiconv(3) library provides multi-byte character conversion tables for
     kernel side iconv service.

     kiconv_add_xlat16_cspair() defines a conversion table using iconv(3)
     between fromcode charset and tocode charset. You can specify flag to
     determine if tolower(3) / toupper(3) conversion is included in the table.
     The flag has following values.

     KICONV_LOWER
     KICONV_FROM_LOWER	It generates a tolower table in addition to a character
 conversion table.  The difference between two is
			tolower tocode or tolower fromcode.
     KICONV_UPPER
     KICONV_FROM_UPPER	It generates a toupper table in addition to a character
 conversion table.  The difference between two is
			toupper tocode or toupper fromcode.

     A tolower/toupper conversion is limited to single-byte characters.

     kiconv_add_xlat16_cspairs() defines two conversion tables which are from
     localcode to foreigncode and from foreigncode to localcode.  This conversion
 tables also contain both of tolower and toupper tables.

     kiconv_add_xlat16_table() defines a conversion table directly pointed by
     data whose length is datalen, not using iconv(3).

SEE ALSO    [Toc]    [Back]

      
      
     iconv(3), tolower(3), toupper(3), iconv(9)


FreeBSD 5.2.1			 July 17, 2003			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
piconv OpenBSD iconv(1), reinvented in perl
rpc_call FreeBSD library routines for client side calls
clnt_sperror NetBSD library routines for client side calls
clnt_sperror FreeBSD library routines for client side calls
clnt_sperrno NetBSD library routines for client side calls
clnt_perror NetBSD library routines for client side calls
rpc_broadcast_exp FreeBSD library routines for client side calls
rpc_clnt_calls FreeBSD library routines for client side calls
rpc_call NetBSD library routines for client side calls
clnt_freeres FreeBSD library routines for client side calls
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service