Be explicit about the POSIX version it conforms to [in this case 1990].
Put the error comment under the more appropriate ERRORS section.
This commit is contained in:
parent
330e78897a
commit
5578cfa2fa
@ -67,10 +67,6 @@ strtod(nptr, (char **)NULL);
|
|||||||
The decimal point
|
The decimal point
|
||||||
character is defined in the program's locale (category
|
character is defined in the program's locale (category
|
||||||
.Dv LC_NUMERIC ) .
|
.Dv LC_NUMERIC ) .
|
||||||
.Pp
|
|
||||||
The
|
|
||||||
.Fn atof
|
|
||||||
function does not detect errors.
|
|
||||||
.Sh IMPLEMENTATION NOTES
|
.Sh IMPLEMENTATION NOTES
|
||||||
The
|
The
|
||||||
.Fn atof
|
.Fn atof
|
||||||
@ -81,6 +77,10 @@ The
|
|||||||
function has been deprecated by
|
function has been deprecated by
|
||||||
.Fn strtod
|
.Fn strtod
|
||||||
and should not be used in new code.
|
and should not be used in new code.
|
||||||
|
.Sh ERRORS
|
||||||
|
The
|
||||||
|
.Fn atof
|
||||||
|
function does not detect errors.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr atoi 3 ,
|
.Xr atoi 3 ,
|
||||||
.Xr atol 3 ,
|
.Xr atol 3 ,
|
||||||
@ -91,7 +91,7 @@ and should not be used in new code.
|
|||||||
The
|
The
|
||||||
.Fn atof
|
.Fn atof
|
||||||
function conforms to
|
function conforms to
|
||||||
.St -p1003.1 ,
|
.St -p1003.1-90 ,
|
||||||
.St -isoC ,
|
.St -isoC ,
|
||||||
and
|
and
|
||||||
.St -isoC-99 .
|
.St -isoC-99 .
|
||||||
|
Loading…
Reference in New Issue
Block a user