DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

iconv_close(3C)


iconv_close -- code conversion deallocation function

Synopsis

   #include <iconv.h>
   

int iconv_close(iconv_t cd);

Description

iconv_close deallocates the conversion descriptor cd, and all data contained within it. If a file descriptor or similar facility is used within the descriptor, it is closed and deallocated.

Return values

If iconv_close encounters no errors, it returns zero. Otherwise -1 is returned, and errno is set.

Errors


EBADF
cd may be an invalid conversion descriptor.

References

iconv(3C), iconv_open(3C), iconvh(5)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004