Main Page | Modules | Namespace List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

wctoutf8.c File Reference

#include "unicode.h"

Functions

int unicode_wctoutf8 (char *s, wchar_t wc, size_t size)
 Wide character to UTF-8.

Function Documentation

int unicode_wctoutf8 char *  s,
wchar_t  wc,
size_t  size
 

Wide character to UTF-8.

Parameters:
s where to store the converted UTF-8 character;
wc the wide character to convert;
size max number of bytes to store in s;
Return values:
>0 the length in bytes of the converted UTF-8 character, stored in s;
-EINVAL invalid wide character (don't know how to convert it to UTF-8);
-ENAMETOOLONG size too small to store the UTF-8 character.


Generated on Fri Feb 24 14:13:22 2006 for VDK Blacksheep by  doxygen 1.4.1