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(3C) 					   Standard C Library Functions 					   iconv_close(3C)

NAME
iconv_close - code conversion deallocation function SYNOPSIS
#include <iconv.h> int iconv_close(iconv_t cd); DESCRIPTION
The iconv_close() function deallocates the conversion descriptor cd and all other associated resources allocated by the iconv_open(3C) function. If a file descriptor is used to implement the type iconv_t, that file descriptor will be closed. For examples using the iconv_close() function, see iconv(3C). RETURN VALUES
Upon successful completion, iconv_close() returns 0; otherwise, it returns -1 and sets errno to indicate the error. ERRORS
The iconv_close() function may fail if: EBADF The conversion descriptor is invalid. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
iconv(3C), iconv_open(3C), attributes(5), standards(5) SunOS 5.10 24 Jul 2002 iconv_close(3C)
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