wasmer/lib/emscripten/emtests/localtime.c
2019-01-10 21:38:10 -08:00

16 lines
309 B
C
Vendored

#include <stdio.h>
#include <time.h>
int main (int argc, char *argv[]) {
time_t rawtime;
struct tm *info;
time( &rawtime );
info = localtime( &rawtime );
struct tm info2;
time (&rawtime );
struct tm *p = localtime_r(&rawtime, &info2);
printf("localtime\n");
return(0);
}