wasmer/lib/emscripten-tests/emtests/localtime.c

16 lines
309 B
C
Raw Normal View History

2018-12-07 22:55:55 +00:00
#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");
2018-12-07 22:55:55 +00:00
return(0);
}