aboutsummaryrefslogtreecommitdiffstats
path: root/man3/printf.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/printf.3')
-rw-r--r--man3/printf.310
1 files changed, 5 insertions, 5 deletions
diff --git a/man3/printf.3 b/man3/printf.3
index 1d832ca07c..450eeeaae0 100644
--- a/man3/printf.3
+++ b/man3/printf.3
@@ -105,7 +105,7 @@ and
.BR vsnprintf ()
write at most
.I size
-bytes (including the terminating null byte (\(aq\e0\(aq)) to
+bytes (including the terminating null byte (\(aq\\0\(aq)) to
.IR str .
.PP
The functions
@@ -159,7 +159,7 @@ and
.BR vsnprintf ()
do not write more than
.I size
-bytes (including the terminating null byte (\(aq\e0\(aq)).
+bytes (including the terminating null byte (\(aq\\0\(aq)).
If the output was truncated due to this limit then the return value
is the number of characters (excluding the terminating null byte)
which would have been written to the final string if enough space
@@ -979,7 +979,7 @@ to five decimal places:
#include <math.h>
#include <stdio.h>
-fprintf(stdout, "pi = %.5f\en", 4 * atan(1.0));
+fprintf(stdout, "pi = %.5f\\n", 4 * atan(1.0));
.fi
.in
.PP
@@ -993,7 +993,7 @@ are pointers to strings:
.nf
#include <stdio.h>
-fprintf(stdout, "%s, %s %d, %.2d:%.2d\en",
+fprintf(stdout, "%s, %s %d, %.2d:%.2d\\n",
weekday, month, day, hour, min);
.fi
.in
@@ -1017,7 +1017,7 @@ With the value:
.in +4n
.nf
-"%1$s, %3$d. %2$s, %4$d:%5$.2d\en"
+"%1$s, %3$d. %2$s, %4$d:%5$.2d\\n"
.fi
.in