Files
my-os-project2/kernel/syscall/time.c
2025-10-16 14:15:05 +02:00

14 lines
262 B
C

#include <stdint.h>
#include <stddef.h>
#include "syscall.h"
#include "time.h"
#include "sysdefs/time.h"
#include "time/time.h"
#include "errors.h"
int32_t SYSCALL1(sys_time, timestruct1) {
Time *time = (Time *)timestruct1;
time_get(time);
return E_OK;
}