iconv_close - codeset conversion deallocation function
#include <iconv.h> int iconv_close(iconv_t cd);
The iconv_close() function deallocates the conversion descriptor cd and all other associated resources allocated by iconv_open().
If a file descriptor is used to implement the type iconv_t, that file descriptor will be closed.
Upon successful completion, 0 is returned. Otherwise, -1 is returned and errno is set to indicate the error.
The iconv_close() function may fail if:
- The conversion descriptor is invalid.
iconv(), iconv_open(), <iconv.h>.
Derived from the HP-UX manual.