home | help
iconv_close(3)		    Library Functions Manual		  iconv_close(3)

NAME
     iconv_close - charset converter deallocation function

SYNOPSIS
     #include <iconv.h>

     int iconv_close(iconv_t cd);

DESCRIPTION
     The iconv_close() function deallocates the conversion descriptor cd and all
     other associated resources allocated by the iconv_open(3) function.

     If  a  file descriptor is used to implement the type iconv_t, that file de-
     scriptor will be closed.

RETURN VALUES
     Upon successful completion, iconv_close() returns 0; otherwise, it  returns
     -1 and sets errno to indicate the error.

ERRORS
     The iconv_close() function may fail if:

     EBADF	    The conversion descriptor is invalid.

SEE ALSO
     iconv(3), iconv_open(3)

				   10 Sep 2000			  iconv_close(3)

home | help