iconv_close

Deallocates a specified conversion descriptor and the resources allocated to the descriptor.

Format

#include  <iconv.h>

int iconv_close  (iconv_t cd);

Arguments

cd
The conversion descriptor to be deallocated. A conversion descriptor is returned by a successful call to iconv_open.

Return Values
Indicates that the conversion descriptor was successfully deallocated. 
- 1  Indicates an error occurred. The function sets errno to one of the following:

  • EBADF - The cd argument is not a valid conversion descriptor.

  • EVMSERR - Non-translatable VMS error occur. vaxc$errno contains the VMS error code.
 


Previous Page | Next Page | Table of Contents | Index