Skip to content

Commit d7f2ba1

Browse files
committed
Fix description of return value.
1 parent 2e685e2 commit d7f2ba1

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2004-01-21 Bruno Haible <bruno@clisp.org>
2+
3+
* man/iconv.3: Fix description of return value in case of error.
4+
Reported by Jonathan Wakely <redi@users.sf.net>.
5+
16
2003-09-12 Paul Eggert <eggert@twinsun.com>
27

38
* srclib/progreloc.c (get_full_program_name): Define via prototype.

man/iconv.3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
.\" GNU glibc-2 source code and manual
1010
.\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
1111
.\"
12-
.TH ICONV 3 "June 13, 2002" "GNU" "Linux Programmer's Manual"
12+
.TH ICONV 3 "January 21, 2004" "GNU" "Linux Programmer's Manual"
1313
.SH NAME
1414
iconv \- perform character set conversion
1515
.SH SYNOPSIS
@@ -69,7 +69,7 @@ function sets \fIcd\fP's conversion state to the initial state.
6969
.SH "RETURN VALUE"
7070
The \fBiconv\fP function returns the number of characters converted in a
7171
non-reversible way during this call; reversible conversions are not counted.
72-
In case of error, it sets \fBerrno\fP and returns (iconv_t)(-1).
72+
In case of error, it sets \fBerrno\fP and returns (size_t)(-1).
7373
.SH ERRORS
7474
The following errors can occur, among others:
7575
.TP

0 commit comments

Comments
 (0)