aboutsummaryrefslogtreecommitdiffstats
path: root/man3/strftime.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-04-05 13:29:41 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-04-05 13:29:41 +0000
commit7295b7eda04d4d80f032988cb15d22a3610f8780 (patch)
tree5e25f36c92af177438fdfbb131d9015b552236ff /man3/strftime.3
parent1bef0ec2656f45fa7bee0ac03103eb5ea920ae8e (diff)
downloadman-pages-7295b7eda04d4d80f032988cb15d22a3610f8780.tar.gz
Replaced tabs with spaces
Diffstat (limited to 'man3/strftime.3')
-rw-r--r--man3/strftime.317
1 files changed, 10 insertions, 7 deletions
diff --git a/man3/strftime.3 b/man3/strftime.3
index c10445ddd0..e3965e4b3a 100644
--- a/man3/strftime.3
+++ b/man3/strftime.3
@@ -310,14 +310,17 @@ Of course programmers are encouraged to use %c, it gives the preferred
date and time representation. One meets all kinds of strange obfuscations
to circumvent this gcc problem. A relatively clean one is to add an
intermediate function
-.RS
-size_t my_strftime(char *s, size_t max, const char *fmt,
-const struct tm *tm) {
-.br
- return strftime(s, max, fmt, tm);
-.br
+.in +0.5i
+.nf
+
+size_t
+my_strftime(char *s, size_t max, const char *fmt,
+ const struct tm *tm)
+{
+ return strftime(s, max, fmt, tm);
}
-.RE
+.fi
+.in -0.5i
.SH EXAMPLE
The program below can be used to experiment with
.BR strftime ().