Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

iconv_close(3) [osf1 man page]

iconv_close(3)						     Library Functions Manual						    iconv_close(3)

NAME
iconv_close - Closes a specified codeset converter LIBRARY
The iconv Library (libiconv) SYNOPSIS
#include <iconv.h> int iconv_close( iconv_t cd); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: iconv_close(): XSH5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
Specifies 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 con- verter. 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: The converter's file descriptor is invalid. RELATED INFORMATION
Functions: iconv(3), iconv_open(3) Commands: genxlt(1), iconv(1) Others: iconv_intro(5), standards(5) delim off iconv_close(3)

Check Out this Related Man Page

ICONV_CLOSE(3)						     Linux Programmer's Manual						    ICONV_CLOSE(3)

NAME
iconv_close - deallocate descriptor for character set conversion SYNOPSIS
#include <iconv.h> int iconv_close(iconv_t cd); DESCRIPTION
The iconv_close() function deallocates a conversion descriptor cd previously allocated using iconv_open(3). RETURN VALUE
When successful, the iconv_close() function returns 0. In case of error, it sets errno and returns -1. VERSIONS
This function is available in glibc since version 2.1. ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). +--------------+---------------+---------+ |Interface | Attribute | Value | +--------------+---------------+---------+ |iconv_close() | Thread safety | MT-Safe | +--------------+---------------+---------+ CONFORMING TO
POSIX.1-2001, POSIX.1-2008, SUSv2. SEE ALSO
iconv(3), iconv_open(3) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. GNU
2017-09-15 ICONV_CLOSE(3)
Man Page

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

libiconv-1.13.1 error

I try to install: libiconv-1.13.1 on AIX 5 After successful ./confugure I get an following error : 0/4.0.0/../../..:/usr/lib:/lib ld: 0711-317 ERROR: Undefined symbol: .libiconv ld: 0711-317 ERROR: Undefined symbol: .libiconvctl ld: 0711-317 ERROR: Undefined symbol: .libiconvlist ld:... (0 Replies)
Discussion started by: alwer
0 Replies

2. Shell Programming and Scripting

No puedo borrar un renglon

#!/bin/sh # Solo para Argentina :s # License: Sisterware # este script necesita curl e iconv, iconv es porque los del servicio meteorologico no usan utf-8 ¬¬ # 87938 = Ushuaia # 87934 = Rio Grande # 87418 = Mendoza # 87582 = Capital Federal # 87692 = Mar del Plata # 87480 = Rosario #... (1 Reply)
Discussion started by: yamirokuay
1 Replies

3. Shell Programming and Scripting

Shell script for weather / forecast

#!/bin/sh #Argentina Only :s # This script requires curl and iconv, iconv is because they do not use Weather Service utf-8 ¬¬ # 87938 = Ushuaia # 87934 = Rio Grande # 87418 = Mendoza # 87582 = Capital Federal # 87692 = Mar del Plata # 87480 = Rosario # 87344 = Cordoba # 87371 = Santa Fe ... (8 Replies)
Discussion started by: yamirokuay
8 Replies

4. Programming

Error message: invalid types 'bool...' (array problem)

Hello everyone. I'm stuck with an error message that neither I nor any of my computer science peeps can understand. The program I wrote is meant to be a simple decimal to binary converter, but with this message it's more complicated than I thought. Here's the code: #include <iostream>... (2 Replies)
Discussion started by: qf_woodfox
2 Replies

5. Programming

Error message: invalid types 'bool...' (array problem)

Hello everyone. I'm stuck with an error message that neither I nor any of my computer science peeps can understand. The program I wrote is meant to be a simple decimal to binary converter, but with this message it's more complicated than I thought. Here's the code: #include <iostream>... (3 Replies)
Discussion started by: qf_woodfox
3 Replies

6. Shell Programming and Scripting

Help with command iconv

I need to convert a utf16 file to utf8. When i use the iconv command to do so it gives an error saying invalid function. When I ran the iconv -l function it did not list the utf16 and utf8 as part of its internal table. Is there anyway I can add these encodings in the library? Is there any other... (3 Replies)
Discussion started by: gaun
3 Replies