Standard C Library Functions iconvclose(3C)
NAME
iconvclose - code conversion deallocation function
SYNOPSIS
#include
int iconvclose(iconvt cd);
DESCRIPTION
The iconvclose() function deallocates the conversion
descriptor cd and all other associated resources allocated
by the iconvopen(3C) function.
If a file descriptor is used to implement the type iconvt,
that file descriptor will be closed.
For examples using the iconvclose() function, see
iconv(3C).
RETURN VALUES
Upon successful completion, iconvclose() returns 0; other-
wise, it returns -1 and sets errno to indicate the error.
ERORS
The iconvclose() function may fail if:
EBADF The conversion descriptor is invalid.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Standard
MT-Level MT-Safe
SEE ALSO
iconv(3C), iconvopen(3C), attributes(5), standards(5)
SunOS 5.11 Last change: 24 Jul 2002 1
|