DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

iconv_close(S)


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(S), iconv_open(S), iconvh(M)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005