summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-02-10 10:26:52 +0000
committerru <ru@FreeBSD.org>2001-02-10 10:26:52 +0000
commit491030fdcc5e86803bb5a7e4927770d4987d5d63 (patch)
tree0fec81f01226f8711e6ca2da8f97b45d21b1dc76 /lib
parent31aec8d9e01d908d8d68d6a8cf6e58fb01c092db (diff)
downloadFreeBSD-src-491030fdcc5e86803bb5a7e4927770d4987d5d63.zip
FreeBSD-src-491030fdcc5e86803bb5a7e4927770d4987d5d63.tar.gz
mdoc(7) police: mark LC_NUMERIC with .Dv.
Diffstat (limited to 'lib')
-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