stringprep_ucs4_to_utf8(3) libidn stringprep_ucs4_to_utf8(3) NNAAMMEE stringprep_ucs4_to_utf8 - API function SSYYNNOOPPSSIISS ##iinncclluuddee <> cchhaarr ** ssttrriinnggpprreepp__uuccss44__ttoo__uuttff88((ccoonnsstt uuiinntt3322__tt ** _s_t_r,, ssssiizzee__tt _l_e_n,, ssiizzee__tt ** _i_t_e_m_s___r_e_a_d,, ssiizzee__tt ** _i_t_e_m_s___w_r_i_t_t_e_n));; AARRGGUUMMEENNTTSS const uint32_t * str a UCS-4 encoded string ssize_t len the maximum length of _s_t_r to use. If _l_e_n < 0, then the string is terminated with a 0 character. size_t * items_read location to store number of characters read read, or NNUULLLL. size_t * items_written location to store number of bytes written or NNUULLLL. The value here stored does not include the trailing 0 byte. DDEESSCCRRIIPPTTIIOONN Convert a string from a 32-bit fixed width representation as UCS-4. to UTF-8. The result will be terminated with a 0 byte. Return value: a pointer to a newly allocated UTF-8 string. This value must be deallocated by the caller. If an error occurs, NNUULLLL will be returned. RREEPPOORRTTIINNGG BBUUGGSS Report bugs to . General guidelines for reporting bugs: http://www.gnu.org/gethelp/ GNU Libidn home page: http://www.gnu.org/software/libidn/ CCOOPPYYRRIIGGHHTT Copyright (C) 2002-2021 Simon Josefsson. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. SSEEEE AALLSSOO The full documentation for lliibbiiddnn is maintained as a Texinfo manual. If the iinnffoo and lliibbiiddnn programs are properly installed at your site, the command iinnffoo lliibbiiddnn should give you access to the complete manual. As an alternative you may obtain the manual from: hhttttpp::////wwwwww..ggnnuu..oorrgg//ssooffttwwaarree//lliibbiiddnn//mmaannuuaall// libidn 1.38 stringprep_ucs4_to_utf8(3)