1 --- strptime.3.orig 2007-04-03 12:19:24.000000000 -0700
2 +++ strptime.3 2007-04-03 12:54:12.000000000 -0700
10 .Nd parse date and time string
17 -.Fa "const char * restrict buf"
18 -.Fa "const char * restrict format"
19 -.Fa "struct tm * restrict timeptr"
20 +.Fa "const char *restrict buf"
21 +.Fa "const char *restrict format"
22 +.Fa "struct tm *restrict tm"
28 +.Fa "const char *restrict buf"
29 +.Fa "const char *restrict format"
30 +.Fa "struct tm *restrict tm"
36 function parses the string in the buffer
39 according to the string pointed to by
41 and fills in the elements of the structure pointed to by
44 The resulting values will be relative to the local time zone.
45 Thus, it can be considered the reverse operation of
50 the unspecified members of
59 If time relative to today is desired, initialize the
62 structure with today's date before passing it to
67 +function uses the current locale, the
69 +function may be passed a locale directly. See
71 +for more information.
73 Upon successful completion,
78 if one of the conversions failed.
79 +.Sh LEGACY DESCRIPTION
82 +format specifier expects exactly 4 digits (leaving any trailing digits for the