UbixOS
2.0
|
Go to the source code of this file.
Data Structures | |
struct | timeStruct |
struct | timezone |
Macros | |
#define | BCD_TO_BIN(val) ((val)=((val)&15) + ((val)>>4)*10) |
#define | DAY (24*HOUR) |
#define | HOUR (60*MINUTE) |
#define | MINUTE 60 |
#define | YEAR (365*DAY) |
Typedefs | |
typedef long | suseconds_t |
Functions | |
int | gettimeofday (struct timeval *tp, struct timezone *tzp) |
int | time_init () |
uInt32 | timeMake (struct timeStruct *time) |
typedef long suseconds_t |
Definition at line 110 of file time.c.
References systemVitals, vitalsStruct::sysUptime, vitalsStruct::timeStart, timeval::tv_sec, timeval::tv_usec, timezone::tz_dsttime, and timezone::tz_minuteswest.
Referenced by sys_gettimeofday(), sys_init(), and sys_unix_now().
uInt32 timeMake | ( | struct timeStruct * | time | ) |
Definition at line 87 of file time.c.
References DAY, YEAR, and timeStruct::year.