libextractor  1.11
About: GNU libextractor is a library used to extract meta-data from files of arbitrary type.
  Fossies Dox: libextractor-1.11.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

iconv.c File Reference

convenience functions for character conversion More...

Go to the source code of this file.


static char * iconv_helper (iconv_t cd, const char *in, size_t inSize)

Detailed Description

convenience functions for character conversion

Christian Grothoff

Definition in file iconv.c.

Function Documentation

◆ iconv_helper()

static char* iconv_helper ( iconv_t  cd,
const char *  in,
size_t  inSize 

Convert the given input using the given converter and return as a 0-terminated string.

cdconverter to use
ininput string
inSizenumber of bytes in 'in'
NULL on error, otherwise the converted string (to be free'd by caller)

Definition at line 37 of file iconv.c.

References NULL, and SIZE_MAX.

Referenced by EXTRACTOR_meta_data_print(), print_selected_keywords(), and print_selected_keywords_grep_friendly().