From 9b0002fc40f4d8b97cf2064910a9ded467f29276 Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Tue, 26 Feb 2019 10:56:52 +0000 Subject: fish --- time_fn.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 time_fn.h (limited to 'time_fn.h') diff --git a/time_fn.h b/time_fn.h new file mode 100644 index 0000000..2409eeb --- /dev/null +++ b/time_fn.h @@ -0,0 +1,19 @@ +typedef struct { + unsigned year; + unsigned is_leap; + unsigned jday; + unsigned month; + unsigned mday; + unsigned wday; + unsigned hour; + unsigned minute; + unsigned second; + unsigned nanosecond; +} UTC; + +typedef struct { + int64_t s; + int64_t ns; +} EPOCH; + + -- cgit v1.2.3