summaryrefslogtreecommitdiff
path: root/euler/include/ctime
blob: 9cf1b1fbf47af3cddbb112709df2d67d1974b28b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <cstdint>

typedef uint64_t time_t;

struct tm {
  int tm_sec;
  int tm_min;
  int tm_hour;
  int tm_mday;
  int tm_mon;
  int tm_year;
  int tm_wday;
  int tm_yday;
  int tm_isdst;
};

time_t time(time_t *arg);
tm *gmtime(const time_t *time);