summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/iconv.3c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3c/iconv.3c')
-rw-r--r--usr/src/man/man3c/iconv.3c31
1 files changed, 9 insertions, 22 deletions
diff --git a/usr/src/man/man3c/iconv.3c b/usr/src/man/man3c/iconv.3c
index 113a37615b..3e12dc4e9e 100644
--- a/usr/src/man/man3c/iconv.3c
+++ b/usr/src/man/man3c/iconv.3c
@@ -1,14 +1,14 @@
'\" te
.\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved .
-.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
+.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
.\" http://www.opengroup.org/bookstore/.
.\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
.\" This notice shall appear on any product containing this material.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH iconv 3C "6 Oct 2004" "SunOS 5.11" "Standard C Library Functions"
+.TH ICONV 3C "Oct 6, 2004"
.SH NAME
iconv \- code conversion function
.SH SYNOPSIS
@@ -98,35 +98,29 @@ the condition. If an error occurs \fBiconv()\fR returns \fB(size_t)\fR
The \fBiconv()\fR function will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEILSEQ\fR\fR
.ad
.RS 10n
-.rt
Input conversion stopped due to an input byte that does not belong to the input
code set.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBE2BIG\fR\fR
.ad
.RS 10n
-.rt
Input conversion stopped due to lack of space in the output buffer.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 10n
-.rt
Input conversion stopped due to an incomplete character or shift sequence at
the end of the input buffer.
.RE
@@ -136,12 +130,10 @@ the end of the input buffer.
The \fBiconv()\fR function may fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEBADF\fR\fR
.ad
.RS 9n
-.rt
The \fIcd\fR argument is not a valid open conversion descriptor.
.RE
@@ -165,7 +157,7 @@ The following example uses the \fBiconv()\fR functions:
* For state-dependent encodings, changes the state of the
* conversion descriptor to initial shift state. Also, outputs
* the byte sequence to change the state to initial state.
- * This code is assuming the iconv call for initializing the
+ * This code is assuming the iconv call for initializing the
* state will not fail due to lack of space in the output buffer.
*/
#define INIT_SHIFT_STATE(cd, fptr, ileft, tptr, oleft) \e
@@ -333,7 +325,6 @@ main(int argc, char **argv)
.SH FILES
.sp
.ne 2
-.mk
.na
\fB\fB/usr/lib/iconv/*.so\fR\fR
.ad
@@ -344,7 +335,6 @@ conversion modules for 32-bit
.sp
.ne 2
-.mk
.na
\fB\fB/usr/lib/iconv/sparcv9/*.so\fR\fR
.ad
@@ -355,7 +345,6 @@ conversion modules for 64-bit sparc
.sp
.ne 2
-.mk
.na
\fB\fB/usr/lib/iconv/amd64/*.so\fR\fR
.ad
@@ -366,7 +355,6 @@ conversion modules for 64-bit amd64
.sp
.ne 2
-.mk
.na
\fB\fB/usr/lib/iconv/geniconvtbl/binarytables/*.bt\fR\fR
.ad
@@ -383,15 +371,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStandard
+Interface Stability Standard
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO