iconv_close(3C)

iconv_close - code conversion deallocation function

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     iconv_close - code conversion deallocation function

SYNOPSIS
     #include <iconv.h>

     size_t iconv_close(iconv_t cd );

DESCRIPTION
     The iconv_close() function deallocates the conversion descriptor cd. It
     deallocates all other associated resources allocated by iconv_open()
     also.  If a file descriptor is used to implement the type iconv_t, that
     file descriptor will be closed.

     The iconv_close() function may fail under the following conditions and
     set errno to the suitable value.


     [EBADF]

          The conversion descriptor is not valid.

     The iconv_close() function returns 0, upon successful completion.
     Otherwise, it returns -1 and set errno to indicate the error.

SEE ALSO
     iconv(3C) , iconv_open(3C).