Loading...
Searching...
No Matches
time.c
Go to the documentation of this file.
#include "arc/std/time.h"
ARC_Time ARC_Time_CopyFromStructTmPtr(struct tm *time){
return (ARC_Time){
time->tm_sec,
time->tm_min,
time->tm_hour,
time->tm_yday,
time->tm_mon,
time->tm_year,
time->tm_wday,
time->tm_mday,
time->tm_isdst
};
}
ARC_Time
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_CopyFromStructTmPtr
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
time.h