Lines Matching refs:iconv
371 the conversion is necessary take a look at the @code{iconv} functions
684 @code{EILSEQ} error. The @code{iconv} function can be used for
1631 In the following text first the interface to @code{iconv} and then the
1639 * iconv Examples:: A complete @code{iconv} example.
1640 * Other iconv Implementations:: Some Details about other @code{iconv}
1642 * glibc iconv Implementation:: The @code{iconv} Implementation in the GNU C
1655 introduced here work using handles and the @file{iconv.h} header
1659 @standards{XPG2, iconv.h}
1660 This data type is an abstract type defined in @file{iconv.h}. The user
1665 the @code{iconv} functions. The objects themselves need not be freed, but
1673 @standards{XPG2, iconv.h}
1710 An @code{iconv} descriptor is like a file descriptor as for every use a
1719 (@pxref{glibc iconv Implementation}). Here it is only important to say
1732 @pindex iconv.h
1737 function is declared in @file{iconv.h}.
1740 The @code{iconv} implementation can associate large data structure with
1746 @standards{XPG2, iconv.h}
1766 @pindex iconv.h
1768 of the @code{iconv} functions in XPG2 and is declared in @file{iconv.h}.
1776 @deftypefun size_t iconv (iconv_t @var{cd}, char **@var{inbuf}, size_t *@var{inbytesleft}, char **@…
1777 @standards{XPG2, iconv.h}
1783 The @code{iconv} function converts the text in the input buffer
1804 If @var{inbuf} is a null pointer, the @code{iconv} function performs the
1815 Therefore an @code{iconv} call to reset the state should always be
1863 @pindex iconv.h
1864 The @code{iconv} function was introduced in the XPG2 standard and is
1865 declared in the @file{iconv.h} header.
1868 The definition of the @code{iconv} function is quite good overall. It
1877 @node iconv Examples
1878 @subsection A complete @code{iconv} example
1930 iconv (cd, NULL, NULL, &wrptr, &avail);
1937 nconv = iconv (cd, &inptr, &insize, &wrptr, &avail);
1973 This example shows the most important aspects of using the @code{iconv}
1974 functions. It shows how successive calls to @code{iconv} can be used to
1978 An interesting point is the case where @code{iconv} returns an error and
1985 input to @code{iconv} and continue the work. The internal state kept in
1990 @code{iconv}. As explained in the description of the @code{iconv}
1995 @code{iconv} calls.
1998 have tight restriction on alignment. Therefore the caller of @code{iconv}
2008 @node Other iconv Implementations
2009 @subsection Some Details about other @code{iconv} Implementations
2011 This is not really the place to discuss the @code{iconv} implementation
2014 of the @code{iconv} functions can lead to portability issues.
2059 A second thing to know about other @code{iconv} implementations is that
2072 The way the @code{iconv} conversion functions are implemented on all
2092 This is a nuisance. The @code{iconv} function should take care of this.
2121 This example shows one of the design errors of @code{iconv} mentioned
2127 @node glibc iconv Implementation
2128 @subsection The @code{iconv} Implementation in @theglibc{}
2130 After reading about the problems of @code{iconv} implementations in the
2135 January 1999). The development of the @code{iconv} functions is not
2138 @Theglibc{}'s @code{iconv} implementation uses shared loadable
2150 @code{iconv}.
2159 fact that the @glibcadj{} implementation of @code{iconv} does not have
2189 as a better alternative. The @glibcadj{} @code{iconv} implementation
2252 conversion used by @code{iconv} (and described in the descriptor) is
2261 @subsubsection Finding the conversion path in @code{iconv}
2272 @code{iconv} implementation to resolve the specific ISO-2022-JP to
2309 @subsubsection @code{iconv} module data structures
2322 From the perspective of the user of @code{iconv} the interface is quite
2324 in calls to @code{iconv}, and finally the handle is freed with a call to
2328 @code{iconv} function. Therefore, the data structures are really the
2443 function is not used directly through the @code{iconv} interface).
2446 @code{iconv} functions are used to translate entire texts while the
2457 of @code{iconv} calls since the handle allows access to the needed
2485 @subsubsection @code{iconv} module interfaces
2495 @theglibc{} also use the @code{iconv} functionality, which
2500 be used by an arbitrary number of @code{iconv} or @code{mbsrtowcs} calls
2716 text or to reset the state. From the description of the @code{iconv}