Module Name: src
Committed By: wiz
Date: Wed May 5 22:07:58 UTC 2010
Modified Files:
src/lib/libc/iconv: iconv.3
Log Message:
Sort errors.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/iconv/iconv.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/iconv/iconv.3
diff -u src/lib/libc/iconv/iconv.3:1.13 src/lib/libc/iconv/iconv.3:1.14
--- src/lib/libc/iconv/iconv.3:1.13 Wed May 5 06:04:19 2010
+++ src/lib/libc/iconv/iconv.3 Wed May 5 22:07:58 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: iconv.3,v 1.13 2010/05/05 06:04:19 jruoho Exp $
+.\" $NetBSD: iconv.3,v 1.14 2010/05/05 22:07:58 wiz Exp $
.\"
.\" Copyright (c)2003 Citrus Project,
.\" All rights reserved.
@@ -182,13 +182,13 @@
.Fn iconv_open
function may cause an error in the following cases:
.Bl -tag -width Er
-.It Bq Er ENOMEM
-Memory is exhausted.
.It Bq Er EINVAL
There is no converter specified by
.Fa srcname
and
.Fa dstname .
+.It Bq Er ENOMEM
+Memory is exhausted.
.El
.Pp
The
@@ -205,6 +205,10 @@
.Fn iconv
function may cause an error in the following cases:
.Bl -tag -width Er
+.It Bq Er E2BIG
+The output buffer pointed to by
+.Fa *dst
+is too small to store the result string.
.It Bq Er EBADF
The conversion descriptor specified by
.Fa cd
@@ -214,10 +218,6 @@
.Fa *src
contains a byte sequence which does not describe a valid character of
the source codeset.
-.It Bq Er E2BIG
-The output buffer pointed to by
-.Fa *dst
-is too small to store the result string.
.It Bq Er EINVAL
The string pointed to by
.Fa *src