diff options
author | 2019-01-16 12:55:49 +0000 | |
---|---|---|
committer | 2019-01-16 12:55:49 +0000 | |
commit | a41d0f37be18caa1a290a21e618cbb06c70ee94f (patch) | |
tree | db73e6e13029f72037ea6bb86bdbbd0f716d0283 /lib/libc/stdio/printf.3 | |
parent | include pf.h for #if NPF > 0 test (diff) | |
download | wireguard-openbsd-a41d0f37be18caa1a290a21e618cbb06c70ee94f.tar.xz wireguard-openbsd-a41d0f37be18caa1a290a21e618cbb06c70ee94f.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 'lib/libc/stdio/printf.3')
-rw-r--r-- | lib/libc/stdio/printf.3 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 1fc1618b29f..236c7dbc6fd 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: printf.3,v 1.78 2018/01/02 08:05:03 jmc Exp $ +.\" $OpenBSD: printf.3,v 1.79 2019/01/16 12:55:49 schwarze Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -33,7 +33,7 @@ .\" .\" @(#)printf.3 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: January 2 2018 $ +.Dd $Mdocdate: January 16 2019 $ .Dt PRINTF 3 .Os .Sh NAME @@ -888,3 +888,12 @@ parameters, up to the last positionally specified parameter, are used in the format string. This allows for the format string to be parsed for this information. Failure to do this will mean the code is non-portable and liable to fail. +.Pp +On systems other than +.Ox , +the +.Dv LC_NUMERIC +.Xr locale 1 +category can cause erratic output; see CAVEATS in +.Xr setlocale 3 +for details. |