Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
iconv_close(3) OSS Library Calls Reference Manual
NAME
iconv_close - Closes a specified code-set converter
LIBRARY
G-series native OSS processes: /G/system/sysnn/zicnvsrl
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zicnvdll |
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yicnvdll |
SYNOPSIS
#include <iconv.h>
int iconv_close(
iconv_t cd);
PARAMETERS
cd Specifies the conversion descriptor to be closed.
DESCRIPTION
The iconv_close( ) function closes a converter previously opened with iconv_open( ) and deallo-
cates any resources used by the specified converter.
RETURN VALUES
Upon successful completion, the iconv_close( ) function returns a value of zero. Otherwise a
value of -1 is returned, and errno is set to indicate the error.
ERRORS
If the following condition occurs, the iconv_close( ) function sets errno to the corresponding
value.
[EBADF] The conversion descriptor is invalid.
RELATED INFORMATION
Commands: genxlt(1), iconv(1).
Functions: iconv(3), iconv_open(3).
4−4 Hewlett-Packard Company 527187-017