Archeus 0.0.0
A C library and game engine that focuses on documentation
Loading...
Searching...
No Matches
time.c
Go to the documentation of this file.
1#include "arc/std/time.h"
2
4 return (ARC_Time){
5 time->tm_sec,
6 time->tm_min,
7 time->tm_hour,
8
9 time->tm_yday,
10 time->tm_mon,
11 time->tm_year,
12
13 time->tm_wday,
14 time->tm_mday,
15
16 time->tm_isdst
17 };
18}
the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time...
Definition time.h:27
ARC_Time ARC_Time_CopyFromStructTmPtr(struct tm *time)
copies the contents of a tm struct pointer into the ARC_Time type
Definition time.c:3