Add time() syscall

This commit is contained in:
2025-10-16 14:15:05 +02:00
parent 48231931bd
commit 702f0ddf87
6 changed files with 41 additions and 11 deletions

View File

@ -3,17 +3,7 @@
#include <stdint.h>
#include <stddef.h>
typedef struct {
uint32_t second;
uint32_t minute;
uint32_t hour;
uint32_t day;
uint32_t month;
uint32_t year;
} Time;
typedef uint64_t timeunix_t;
#include "sysdefs/time.h"
void time_get(Time *time);
timeunix_t time_tounix(Time *time);