summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-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
4 files changed, 9 insertions, 5 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index e00d44a..e85d139 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 17fa80b..2381f6b 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 005f87d..ec2f0f7 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 b6f94ab..ca7374a 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
OpenPOWER on IntegriCloud