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: 63aee389086fd23fafa04f8d51000ee2501ac504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * ctime_r.c
 */

#include <time.h>

char *
ctime_r (const time_t * tim_p,
        char * result)

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