summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/strtod.3
diff options
context:
space:
mode:
authorschwarze <>2019-01-16 12:55:49 +0000
committerschwarze <>2019-01-16 12:55:49 +0000
commit4e3ee06a0112af4d558016a09518906f404dc0d3 (patch)
tree248b2403757e6a997374e9351310826047941ace /src/lib/libc/stdlib/strtod.3
parent715034b8f674f25253f9f569e323a0633d1eaf3c (diff)
downloadopenbsd-4e3ee06a0112af4d558016a09518906f404dc0d3.tar.gz
openbsd-4e3ee06a0112af4d558016a09518906f404dc0d3.tar.bz2
openbsd-4e3ee06a0112af4d558016a09518906f404dc0d3.zip
For all functions known to be infected by LC_NUMERIC, add short
CAVEATS pointing to the new CAVEATS section in setlocale(3). Make those in wprintf(3) and wscanf(3) more concise since duplicate information is a bad idea. Incompleteness of information originally pointed out by millert@. OK millert@
Diffstat (limited to 'src/lib/libc/stdlib/strtod.3')
-rw-r--r--src/lib/libc/stdlib/strtod.313
1 files changed, 11 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/strtod.3 b/src/lib/libc/stdlib/strtod.3
index baca4b223f..0561f3615d 100644
--- a/src/lib/libc/stdlib/strtod.3
+++ b/src/lib/libc/stdlib/strtod.3
@@ -29,9 +29,9 @@
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE. 30.\" SUCH DAMAGE.
31.\" 31.\"
32.\" $OpenBSD: strtod.3,v 1.21 2016/06/02 15:07:34 millert Exp $ 32.\" $OpenBSD: strtod.3,v 1.22 2019/01/16 12:55:49 schwarze Exp $
33.\" 33.\"
34.Dd $Mdocdate: June 2 2016 $ 34.Dd $Mdocdate: January 16 2019 $
35.Dt STRTOD 3 35.Dt STRTOD 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -165,3 +165,12 @@ and
165.Fn strtold 165.Fn strtold
166functions conform to 166functions conform to
167.St -isoC-99 . 167.St -isoC-99 .
168.Sh CAVEATS
169On systems other than
170.Ox ,
171the
172.Dv LC_NUMERIC
173.Xr locale 1
174category can cause parsing failures; see CAVEATS in
175.Xr setlocale 3
176for details.