iconv_close(3C) iconv_close(3C)
iconv_close - code conversion deallocation function
#include <iconv.h>
size_t iconv_close(iconv_t cd );
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.
iconv(3C) , iconv_open(3C).
PPPPaaaaggggeeee 1111 [ Back ]
|