diff options
Diffstat (limited to 'man3/strftime.3')
| -rw-r--r-- | man3/strftime.3 | 17 |
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 (). |
