aboutsummaryrefslogtreecommitdiffstats
path: root/man3/printf.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/printf.3')
-rw-r--r--man3/printf.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/printf.3 b/man3/printf.3
index 59cdc7d887..6876a4646d 100644
--- a/man3/printf.3
+++ b/man3/printf.3
@@ -318,7 +318,7 @@ Instead of a decimal digit string one may write `*' or `*m$'
is given in the next argument, or in the m-th argument, respectively,
which must be of type
.IR int .
-A negative field width is taken as a `-' flag followed by a
+A negative field width is taken as a `\-' flag followed by a
positive field width.
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
@@ -562,10 +562,10 @@ If a decimal point appears, at least one digit appears before it.
(The SUSv2 does not know about
.B F
and says that character string representations for infinity and NaN
-may be made available. The C99 standard specifies `[-]inf' or `[-]infinity'
+may be made available. The C99 standard specifies `[\-]inf' or `[\-]infinity'
for infinity, and a string starting with `nan' for NaN, in the case of
.B f
-conversion, and `[-]INF' or `[-]INFINITY' or `NAN*' in the case of
+conversion, and `[\-]INF' or `[\-]INFINITY' or `NAN*' in the case of
.B F
conversion.)
.TP
@@ -598,7 +598,7 @@ conversion, the
.I double
argument is converted to hexadecimal notation (using the letters abcdef)
in the style
-.BR "" [-] 0x h \&. hhhh p \\*(Pmd;
+.BR "" [\-] 0x h \&. hhhh p \\*(Pmd;
for
.B A
conversion the prefix