Add gettimeofday() syscall and LibC wrappers gettimeofday() and time().

This only has second accuracy right now, I'll work out subseconds later.
This commit is contained in:
Andreas Kling 2018-10-25 17:29:49 +02:00
commit dc6f57f19c
Notes: sideshowbarker 2024-07-19 18:38:42 +09:00
20 changed files with 188 additions and 8 deletions

View file

@ -29,6 +29,7 @@ enum Function {
GetDirEntries = 0x1997,
PosixLstat = 0x1998,
PosixGetcwd = 0x1999,
PosixGettimeofday = 0x2000,
};
void initialize();