Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

iconvlist(3) [freebsd man page]

ICONVLIST(3)						   BSD Library Functions Manual 					      ICONVLIST(3)

NAME
iconvlist -- retrieving a list of character encodings supported by iconv(3) LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <iconv.h> void iconvlist(int (*do_one)(unsigned int *count, const char * const *names, void *arg), void *arg); DESCRIPTION
The iconvlist() function obtains a list of character encodings that are supported by the iconv(3) call. The do_one() callback function will be called, where the count argument will be set to the number of the encoding names found, the names argument will be the list of the sup- ported encoding names and the arg argument will be the arg argument of the iconvlist() function. This argument can be used to interchange custom data between the caller of iconvlist() and the callback function. If an error occurs, names will be NULL when calling do_one(). SEE ALSO
__iconv_free_list(3), __iconv_get_list(3), iconv(3) STANDARDS
The iconvlist function is a non-standard extension, which appeared in the GNU implementation and was adopted in FreeBSD 9.0 for compatibil- ity's sake. AUTHORS
This manual page was written by Gabor Kovesdan <gabor@FreeBSD.org>. BSD
October 20, 2009 BSD

Check Out this Related Man Page

MKCSMAPPER(1)						    BSD General Commands Manual 					     MKCSMAPPER(1)

NAME
mkcsmapper -- generates hashed conversion data for iconv(3) SYNOPSIS
mkcsmapper [-mpd] -o outfile infile DESCRIPTION
The mkcsmapper utility generates binary conversion data from plain text conversion tables for the iconv(3) library. The conversion data has two components: The conversion mapping between specific character encodings. A pivot file, which the possible source and destination encod- ing pairs or the set of mappings to use for a compound encoding. The following options are available: -d Turns on debug mode. -m Generate mapping data from infile. -o outfile Put generated binary data to outfile. -p Generate pivot data from outfile. EXIT STATUS
The mkcsmapper utility exits 0 on success, and >0 if an error occurs. SEE ALSO
iconv(1), mkesdb(1), iconv(3) HISTORY
mkcsmapper first appeared in NetBSD 2.0, and made its appearance in FreeBSD 9.0. AUTHORS
This manual page was written by Gabor Kovesdan <gabor@FreeBSD.org>. BSD
Sep 6, 2009 BSD
Man Page