2004-11-03 13:51:07 +00:00
|
|
|
.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
|
|
|
|
.\"
|
|
|
|
.\" This is free documentation; you can redistribute it and/or
|
|
|
|
.\" modify it under the terms of the GNU General Public License as
|
|
|
|
.\" published by the Free Software Foundation; either version 2 of
|
|
|
|
.\" the License, or (at your option) any later version.
|
|
|
|
.\"
|
|
|
|
.\" References consulted:
|
|
|
|
.\" GNU glibc-2 source code and manual
|
|
|
|
.\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
|
|
|
|
.\"
|
|
|
|
.TH ICONV_CLOSE 3 1999-11-27 "GNU" "Linux Programmer's Manual"
|
|
|
|
.SH NAME
|
|
|
|
iconv_close \- deallocate descriptor for character set conversion
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.nf
|
|
|
|
.B #include <iconv.h>
|
|
|
|
.sp
|
|
|
|
.BI "int iconv_close(iconv_t " cd );
|
|
|
|
.fi
|
|
|
|
.SH DESCRIPTION
|
2005-10-19 06:54:38 +00:00
|
|
|
The \fBiconv_close\fP() function deallocates a conversion descriptor \fIcd\fP
|
2005-10-19 08:35:30 +00:00
|
|
|
previously allocated using \fBiconv_open\fP().
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH "RETURN VALUE"
|
2005-10-19 06:54:38 +00:00
|
|
|
When successful, the \fBiconv_close\fP() function returns 0.
|
2004-11-03 13:51:07 +00:00
|
|
|
In case of error, it sets
|
|
|
|
.I errno
|
|
|
|
and returns \-1.
|
|
|
|
.SH "CONFORMING TO"
|
2006-08-03 13:57:30 +00:00
|
|
|
UNIX98, POSIX.1-2001.
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR iconv (3),
|
|
|
|
.BR iconv_open (3)
|