Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ctime_r.c « time « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fda8cac1ea12f292df00dce8662fae579705c125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * ctime_r.c
 */

#include <time.h>

char *
_DEFUN (ctime_r, (tim_p, result),
	_CONST time_t * tim_p _AND
        char * result)

{
  struct tm tm;
  return asctime_r (localtime_r (tim_p, &tm), result);
}