ICONV_CLOSE(3) Library Functions Manual ICONV_CLOSE(3)

iconv_closecodeset 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(3) .

If a file descriptor is used to implement the type 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.

None.

None.

None.

iconv(3) , iconv_open(3) , <iconv.h> .

Derived from the HP-UX manual.

February 1997 posix.fail