change to ria_tzset
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user