tail head cat sleep
QR code linking to this page

Manual Pages  — ICONVLIST


iconvlist – retrieving a list of character encodings supported by iconv(3)



Standard C Library (libc, -lc)


#include <iconv.h>

iconvlist(int (*do_one)(unsigned int *count, const char * const *names, void *arg), void *arg);


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 supported 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().


__iconv_free_list(3), __iconv_get_list(3), iconv(3)


The iconvlist function is a non-standard extension, which appeared in the GNU implementation and was adopted in FreeBSD 9.0 for compatibility's sake.


This manual page was written by Gabor Kovesdan <Mt gabor@FreeBSD.org>.

ICONVLIST (3) October 20, 2009

tail head cat sleep
QR code linking to this page

Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Did you know that 7/5 people don't know how to use fractions?