Rev 4872 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4349 | Serge | 1 | /* |
2 | * localtime_r.c |
||
3 | * |
||
4 | * Converts the calendar time pointed to by tim_p into a broken-down time |
||
5 | * expressed as local time. Returns a pointer to a structure containing the |
||
6 | * broken-down time. |
||
7 | */ |
||
8 | |||
9 | #include |
||
10 | #include "local.h" |
||
11 | |||
12 | struct tm * |
||
13 | _DEFUN (localtime_r, (tim_p, res), |
||
14 | _CONST time_t * tim_p _AND |
||
15 | struct tm *res) |
||
16 | { |
||
17 | return _mktm_r (tim_p, res, 0); |
||
18 | } |