[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

iconv_close Subroutine

Purpose

Closes a specified code set converter.

Library

iconv Library (libiconv.a)

Syntax

#include <iconv.h>


int iconv_close ( CD)
iconv_t CD;

Description

The iconv_close subroutine closes a specified code set converter and deallocates any resources used by the converter.

Parameters

CD Specifies the conversion descriptor to be closed.

Return Values

When successful, the iconv_close subroutine returns a value of 0. Otherwise, it returns a value of -1 and sets the errno global variable to indicate the error.

Error Codes

The following error code is defined for the iconv_close subroutine:

EBADF The conversion descriptor is not valid.

Related Information

The iconv (iconv Subroutine) subroutine, iconv_open (iconv_open Subroutine) subroutine.

The genxlt command, iconv command.

National Language Support Overview and Converters Overview for Programming in AIX 5L Version 5.2 National Language Support Guide and Reference

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]