Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include "precompiled.h"
#include "lib/sysdep/os/win/wposix/wtime.h"
#include "lib/sysdep/os/win/wposix/wposix_internal.h"
#include <ctime>
Functions | |
static u64 | u64_from_FILETIME (const FILETIME *ft) |
time_t | wtime_utc_filetime_to_time_t (FILETIME *ft) |
static size_t | MsFromTimespec (const timespec &ts) |
int | nanosleep (const struct timespec *rqtp, struct timespec *) |
unsigned | sleep (unsigned sec) |
int | usleep (useconds_t us) |
static int | match_string (const char **buf, const char **strs) |
static int | is_leap_year (int year) |
static int | first_day (int year) |
static void | set_week_number_sun (struct tm *timeptr, int wnum) |
static void | set_week_number_mon (struct tm *timeptr, int wnum) |
static void | set_week_number_mon4 (struct tm *timeptr, int wnum) |
char * | strptime (const char *buf, const char *format, struct tm *timeptr) |
Variables | |
static const long | _1e3 = 1000 |
static const long | _1e6 = 1000000 |
static const long | _1e7 = 10000000 |
static const i64 | _1e9 = 1000000000 |
static const u64 | posix_epoch_hns = 0x019DB1DED53E8000 |
static const char * | abb_weekdays [] |
static const char * | full_weekdays [] |
static const char * | abb_month [] |
static const char * | full_month [] |
static const char * | ampm [] |
const int | tm_year_base = 1900 |
|
static |
|
static |
|
static |
|
static |
int nanosleep | ( | const struct timespec * | rqtp, |
struct timespec * | rmtp | ||
) |
|
static |
|
static |
|
static |
unsigned sleep | ( | unsigned | sec | ) |
char * strptime | ( | const char * | buf, |
const char * | format, | ||
struct tm * | timeptr | ||
) |
|
static |
int usleep | ( | useconds_t | us | ) |
time_t wtime_utc_filetime_to_time_t | ( | FILETIME * | ft | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const int tm_year_base = 1900 |