change to ria_tzset

This commit is contained in:
rumbledethumps
2025-05-24 21:27:05 -07:00
parent 795cc55e45
commit b6d261ba2b
8 changed files with 21 additions and 17 deletions

View File

@@ -1,10 +1,11 @@
#include <rp6502.h>
#include <time.h>
int clock_gettimezone (clockid_t clock_id, struct _timezone* tz)
int clock_gettimezone (time_t time, clockid_t clock_id, struct _timezone* tz)
{
int ax;
ria_set_ax (clock_id);
ria_push_long (time);
ax = ria_call_int_errno (RIA_OP_CLOCK_GETTIMEZONE);
if (ax >= 0) {
char i;