aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-05-07 10:16:51 +1200
committerMichael Kerrisk <mtk.manpages@gmail.com>2012-05-07 15:30:19 +1200
commitee9d4801d7313e8036089cf3f6f1596016ab43b0 (patch)
tree91753bd9249451e563ffbe9915cec5a181c9928d /man3
parente53eca7462718740d67fcfb5100a1c557bbcfc86 (diff)
downloadman-pages-ee9d4801d7313e8036089cf3f6f1596016ab43b0.tar.gz
printf.3: srcfix to avoid groff warnings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/printf.310
1 files changed, 5 insertions, 5 deletions
diff --git a/man3/printf.3 b/man3/printf.3
index 194050b1fa..1d832ca07c 100644
--- a/man3/printf.3
+++ b/man3/printf.3
@@ -619,8 +619,7 @@ When 0 is printed with an explicit precision 0, the output is empty.
The
.I double
argument is rounded and converted in the style
-.if \w'\*(Pm'=0 .ds Pm \(+-
-.RB [\-]d \&. ddd e \\*(Pmdd
+.RB [\-]d \&. ddd e \(+-dd
where there is one digit before the decimal-point character and the number
of digits after it is equal to the precision; if the precision is missing,
it is taken as 6; if the precision is zero, no decimal-point character
@@ -689,7 +688,7 @@ conversion, the
.I double
argument is converted to hexadecimal notation (using the letters abcdef)
in the style
-.RB [\-] 0x h \&. hhhh p \\*(Pmd;
+.RB [\-] 0x h \&. hhhh p \(+-;
for
.B A
conversion the prefix
@@ -972,8 +971,9 @@ call to write to memory and creating a security hole.
.\" Some floating-point conversions under early libc4
.\" caused memory leaks.
.SH EXAMPLE
-.if \w'\*(Pi'=0 .ds Pi pi
-To print \*(Pi to five decimal places:
+To print
+.I Pi
+to five decimal places:
.in +4n
.nf