aboutsummaryrefslogtreecommitdiffstats
path: root/man3/strftime.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/strftime.3')
-rw-r--r--man3/strftime.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/strftime.3 b/man3/strftime.3
index a1b90e2f82..d85bd54e13 100644
--- a/man3/strftime.3
+++ b/man3/strftime.3
@@ -569,9 +569,9 @@ to circumvent this
problem.
A relatively clean one is to add an
intermediate function
+.PP
.in +4n
-.nf
-
+.EX
size_t
my_strftime(char *s, size_t max, const char *fmt,
const struct tm *tm)
@@ -606,9 +606,9 @@ The program below can be used to experiment with
Some examples of the result string produced by the glibc implementation of
.BR strftime ()
are as follows:
+.PP
.in +4n
-.nf
-
+.EX
.RB "$" " ./a.out \(aq%m\(aq"
Result string is "11"
.RB "$" " ./a.out \(aq%5m\(aq"