The wprintf(3) manpage says
The decimal point character is defined
in the program's locale (category LC_NUMERIC)
but LC_NUMERIC is ignored in OpenBSD's C library,
as explained in setlocale(3).
Would it be an improvement to remove that sentence?
(Removing a needless newline while here.)
Jan
Index: wprintf.3
===================================================================
RCS file: /cvs/src/lib/libc/stdio/wprintf.3,v
retrieving revision 1.5
diff -u -p -r1.5 wprintf.3
--- wprintf.3 1 Dec 2017 10:56:07 -0000 1.5
+++ wprintf.3 10 Jan 2019 13:29:41 -0000
@@ -578,14 +578,9 @@ is
.Ql %% .
.El
.Pp
-The decimal point
-character is defined in the program's locale (category
-.Dv LC_NUMERIC ) .
-.Pp
In no case does a non-existent or small field width cause truncation of
a numeric field; if the result of a conversion is wider than the field
-width, the
-field is expanded to contain the conversion result.
+width, the field is expanded to contain the conversion result.
.Sh SEE ALSO
.Xr btowc 3 ,
.Xr fputws 3 ,