1 --- strftime.3.bsdnew 2009-11-14 13:55:44.000000000 -0800
2 +++ strftime.3 2009-11-14 13:55:44.000000000 -0800
10 .Nd format date and time
17 -.Fa "char * restrict buf"
18 +.Fa "char *restrict s"
20 -.Fa "const char * restrict format"
21 -.Fa "const struct tm * restrict timeptr"
22 +.Fa "const char *restrict format"
23 +.Fa "const struct tm *restrict timeptr"
29 +.Fa "char *restrict s"
31 +.Fa "const char *restrict format"
32 +.Fa "const struct tm *restrict timeptr"
38 function formats the information from
43 according to the string pointed to by
46 @@ -79,6 +90,14 @@ returns the number of characters in the
48 Otherwise, zero is returned and the buffer contents are indeterminate.
52 +function uses the current locale, the
54 +function may be passed a locale directly. See
56 +for more information.
58 The conversion specifications are copied to the buffer after expansion
60 .Bl -tag -width "xxxx"
61 @@ -233,7 +252,8 @@ is replaced by
71 @@ -260,11 +280,12 @@ with a lot of extensions including
78 The peculiar week number and year in the replacements of
84 are defined in ISO 8601: 1988.