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

15
share/sysdefs/time.h Normal file
View File

@ -0,0 +1,15 @@
#ifndef SHARE_SYSDEFS_TIME_H_
#define SHARE_SYSDEFS_TIME_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;
#endif // SHARE_SYSDEFS_TIME_H_