![]() | Fun 0.41.5 The programming language that makes You have fun |
Implements OP_TIME_NOW_MS to push current wall-clock time in ms since Unix epoch. More...
#include <stdint.h>#include <time.h>
Go to the source code of this file.
Functions | |
| push_value (vm, make_int(ms)) | |
Variables | |
| case | OP_TIME_NOW_MS |
| time_t | s = time(NULL) |
| ms = (int64_t)s * 1000 | |
| break | |
Implements OP_TIME_NOW_MS to push current wall-clock time in ms since Unix epoch.
Stack before: [] Stack after: [int ms]
Definition in file time_now_ms.c.
| break |
Definition at line 36 of file time_now_ms.c.
| ms = (int64_t)s * 1000 |
Definition at line 33 of file time_now_ms.c.
| case OP_TIME_NOW_MS |
Definition at line 21 of file time_now_ms.c.
| time_t s = time(NULL) |
Definition at line 32 of file time_now_ms.c.