1stringprep_utf8_to_ucs4(3)          libidn          stringprep_utf8_to_ucs4(3)
2
3
4

NAME

6       stringprep_utf8_to_ucs4 - API function
7

SYNOPSIS

9       #include <stringprep.h>
10
11       uint32_t  *  stringprep_utf8_to_ucs4(const  char  *  str,  ssize_t len,
12       size_t * items_written);
13

ARGUMENTS

15       const char * str
16                   a UTF-8 encoded string
17
18       ssize_t len the maximum length of str to use. If  len  <  0,  then  the
19                   string is nul-terminated.
20
21       size_t * items_written
22                   location  to  store the number of characters in the result,
23                   or NULL.
24

DESCRIPTION

26       Convert a string from UTF-8 to a 32-bit fixed width  representation  as
27       UCS-4,  assuming valid UTF-8 input.  This function does no error check‐
28       ing on the input.
29

RETURN VALUE

31       a pointer to a newly allocated UCS-4 string.  This value must be  deal‐
32       located by the caller.
33

REPORTING BUGS

35       Report   bugs   to   <bug-libidn@gnu.org>.    GNU   Libidn  home  page:
36       http://www.gnu.org/software/libidn/ General help  using  GNU  software:
37       http://www.gnu.org/gethelp/
38
40       Copyright  © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Simon
41       Josefsson.
42       Copying and distribution of this file, with  or  without  modification,
43       are  permitted  in  any  medium  without royalty provided the copyright
44       notice and this notice are preserved.
45

SEE ALSO

47       The full documentation for libidn is maintained as  a  Texinfo  manual.
48       If  the  info  and libidn programs are properly installed at your site,
49       the command
50
51              info libidn
52
53       should give you access to the complete manual.
54
55
56
57libidn                               1.18           stringprep_utf8_to_ucs4(3)
Impressum