1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:48:12 +00:00

Stub out poll() syscall and LibC wrapper.

This commit is contained in:
Andreas Kling 2019-01-23 07:27:41 +01:00
parent 8bb18fdc56
commit 2bedabbd6c
10 changed files with 63 additions and 10 deletions

View file

@ -100,6 +100,8 @@ static dword handle(RegisterDump& regs, dword function, dword arg1, dword arg2,
return (dword)current->sys$mmap((const SC_mmap_params*)arg1);
case Syscall::SC_select:
return current->sys$select((const SC_select_params*)arg1);
case Syscall::SC_poll:
return current->sys$poll((pollfd*)arg1, (int)arg2, (int)arg3);
case Syscall::SC_munmap:
return current->sys$munmap((void*)arg1, (size_t)arg2);
case Syscall::SC_gethostname: