iconv_close

Deallocates a descriptor for a codeset conversion.

Library:LibC
Classification:POSIX
Service:Environment Variable

Syntax

  #include <iconv.h> 
   
  int  iconv_close (
     iconv_t   cd);
  

Parameters

cd

(IN) Specifies the codeset descriptor to close.

Return Values

If successful, returns 0. Otherwise, returns -1 and sets errno to the following:

Decimal

Constant

Description

4

EBADF

The codeset descriptor is invalid.

See Also