mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:07:45 +00:00
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:
parent
5978185242
commit
dc6f57f19c
20 changed files with 188 additions and 8 deletions
11
LibC/time.h
Normal file
11
LibC/time.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#include "types.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
int gettimeofday(timeval*);
|
||||
time_t time(time_t*);
|
||||
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue