Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ iconv_close(3) — OSF/1 3.0 αXP

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

iconv(3)

iconv_open(3)

genxlt(1)

iconv(1)

iconv_close(3)  —  Subroutines

NAME

iconv_close − Closes a specified codeset converter

LIBRARY

The iconv Library (libiconv.a)

SYNOPSIS

#include <iconv.h>

int iconv_close(
iconv_t cd);

PARAMETERS

cdSpecifies the descriptor of the converter to be closed

DESCRIPTION

The iconv_close function closes a converter previously opened with iconv_open() and deallocates any resources used by the specified converter. 

RETURN VALUES

On successful completion, the iconv_close() function returns a value of zero. Otherwise, the function returns a value of -1 and sets errno to indicate the error. 

ERRORS

If the following condition occurs, the iconv_close() function sets errno to the corresponding value. 

[EBADF]The converter’s descriptor is invalid. 

RELATED INFORMATION

Functions: iconv(3), iconv_open(3). 

Commands: genxlt(1), iconv(1). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026