65816-llvm-mos/runtime/include/time.h
Scott Duensing 81694c5971 Checkpoint
2026-05-02 19:17:23 -05:00

17 lines
446 B
C

#ifndef _TIME_H
#define _TIME_H
typedef long time_t;
typedef unsigned long clock_t;
#define CLOCKS_PER_SEC 60 // IIgs vsync tick (placeholder)
time_t time(time_t *t);
clock_t clock(void);
// Initialise the IIgs Tool Locator so time() can call ReadTimeHex.
// Call once before any time() use. Idempotent — repeated calls
// are no-ops. clock() works regardless of whether this is called.
void iigsToolboxInit(void);
#endif