Open System Services Library Calls Reference Manual (G06.27+, H06.04+)

iconv_close(3) OSS Library Calls Reference Manual
NAME
iconv_close - Closes a specied code-set converter
LIBRARY
G-series native OSS processes: /G/system/sysnn/zicnvsrl
H-series OSS processes: /G/system/zdllnnn/zicnvdll
SYNOPSIS
#include <iconv.h>
int iconv_close(
iconv_t cd);
PARAMETERS
cd Species 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 specied 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).
44 Hewlett-Packard Company 527187-004