ICONV_CLOSE(3) Library Functions Manual ICONV_CLOSE(3)

iconv_close - deallocate descriptor for character set conversion

#include <iconv.h>

int iconv_close (iconv_t cd);

The iconv_close function deallocates a conversion descriptor cd previously allocated using iconv_open.

When successful, the iconv_close function returns 0. In case of error, it sets errno and returns -1.

POSIX:2024

iconv_open(3) iconv(3)

December 15, 2024 GNU