mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:17:46 +00:00
Add a "sleep" syscall that sleeps for N seconds.
This commit is contained in:
parent
c6f2890d8e
commit
5978185242
11 changed files with 37 additions and 12 deletions
|
@ -91,7 +91,6 @@ public:
|
|||
int sys$seek(int fd, int offset);
|
||||
int sys$kill(pid_t pid, int sig);
|
||||
int sys$geterror() { return m_error; }
|
||||
void sys$sleep(DWORD ticks);
|
||||
void sys$exit(int status);
|
||||
int sys$spawn(const char* path);
|
||||
pid_t sys$waitpid(pid_t);
|
||||
|
@ -99,6 +98,7 @@ public:
|
|||
int sys$munmap(void*, size_t size);
|
||||
int sys$get_dir_entries(int fd, void*, size_t);
|
||||
int sys$getcwd(char*, size_t);
|
||||
int sys$sleep(unsigned seconds);
|
||||
|
||||
static void initialize();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue