1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Especially mention that setting errno to EINVAL in "no conversion" case

is not portable.

Asked by:       joerg
This commit is contained in:
Andrey A. Chernov 2005-01-22 18:02:58 +00:00
parent d591eb90f7
commit d308373710
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140613
2 changed files with 8 additions and 4 deletions

View File

@ -173,7 +173,8 @@ If no conversion could be performed, 0 is returned and
the global variable
.Va errno
is set to
.Er EINVAL .
.Er EINVAL
(the last feature is not portable across all platforms).
If an overflow or underflow occurs,
.Va errno
is set to
@ -193,7 +194,8 @@ to the following table.
The value of
.Fa base
is not supported or
no conversion could be performed.
no conversion could be performed
(the last feature is not portable across all platforms).
.It Bq Er ERANGE
The given string was out of range; the value converted has been clamped.
.El

View File

@ -192,14 +192,16 @@ If no conversion could be performed, 0 is returned and
the global variable
.Va errno
is set to
.Er EINVAL .
.Er EINVAL
(the last feature is not portable across all platforms).
.Sh ERRORS
.Bl -tag -width Er
.It Bq Er EINVAL
The value of
.Fa base
is not supported or
no conversion could be performed.
no conversion could be performed
(the last feature is not portable across all platforms).
.It Bq Er ERANGE
The given string was out of range; the value converted has been clamped.
.El