Subversion Repositories Kolibri OS

Rev

Rev 4874 | Go to most recent revision | Details | Compare with Previous | 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),
4921 Serge 14
	_CONST time_t *__restrict tim_p _AND
15
	struct tm *__restrict res)
4349 Serge 16
{
17
  return _mktm_r (tim_p, res, 0);
18
}