summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/stdio/printf.33
-rw-r--r--lib/libc/stdio/scanf.33
-rw-r--r--lib/libc/stdlib/atof.35
-rw-r--r--lib/libc/stdlib/strtod.33
-rw-r--r--usr.bin/printf/printf.13
5 files changed, 11 insertions, 6 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index e00d44a63cb8..e85d139e9d6c 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -553,7 +553,8 @@ is
.El
.Pp
The decimal point
-character is defined in the program's locale (category LC_NUMERIC).
+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 field; if the result of a conversion is wider than the field width, the
diff --git a/lib/libc/stdio/scanf.3 b/lib/libc/stdio/scanf.3
index 17fa80b5d505..2381f6ba20e6 100644
--- a/lib/libc/stdio/scanf.3
+++ b/lib/libc/stdio/scanf.3
@@ -359,7 +359,8 @@ flag.
.El
.Pp
The decimal point
-character is defined in the program's locale (category LC_NUMERIC).
+character is defined in the program's locale (category
+.Dv LC_NUMERIC ) .
.Pp
For backwards compatibility,
other conversion characters (except
diff --git a/lib/libc/stdlib/atof.3 b/lib/libc/stdlib/atof.3
index 005f87d45def..ec2f0f769751 100644
--- a/lib/libc/stdlib/atof.3
+++ b/lib/libc/stdlib/atof.3
@@ -62,10 +62,11 @@ representation.
It is equivalent to:
.Bd -literal -offset indent
strtod(nptr, (char **)NULL);
+.Ed
.Pp
The decimal point
-character is defined in the program's locale (category LC_NUMERIC).
-.Ed
+character is defined in the program's locale (category
+.Dv LC_NUMERIC ) .
.Sh SEE ALSO
.Xr atoi 3 ,
.Xr atol 3 ,
diff --git a/lib/libc/stdlib/strtod.3 b/lib/libc/stdlib/strtod.3
index b6f94abd3d1f..ca7374ad2b40 100644
--- a/lib/libc/stdlib/strtod.3
+++ b/lib/libc/stdlib/strtod.3
@@ -70,7 +70,8 @@ Leading white-space characters in the string (as defined by the
.Xr isspace 3
function) are skipped.
The decimal point
-character is defined in the program's locale (category LC_NUMERIC).
+character is defined in the program's locale (category
+.Dv LC_NUMERIC ) .
.Sh RETURN VALUES
The
.Fn strtod
diff --git a/usr.bin/printf/printf.1 b/usr.bin/printf/printf.1
index 2d510c3bbfc2..8fc29ed0f01a 100644
--- a/usr.bin/printf/printf.1
+++ b/usr.bin/printf/printf.1
@@ -251,7 +251,8 @@ Print a `%'; no argument is used.
.El
.Pp
The decimal point
-character is defined in the program's locale (category LC_NUMERIC).
+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 field; padding takes place only if the specified field width exceeds