Add time() syscall
This commit is contained in:
15
share/sysdefs/time.h
Normal file
15
share/sysdefs/time.h
Normal 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_
|
||||
Reference in New Issue
Block a user