mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
Implement waitpid() support for getting the waitee's exit code.
This commit is contained in:
parent
5cfeeede7c
commit
ec07761d0f
Notes:
sideshowbarker
2024-07-19 18:37:45 +09:00
Author: https://github.com/awesomekling
Commit: ec07761d0f
7 changed files with 33 additions and 10 deletions
|
@ -95,7 +95,7 @@ DWORD handle(DWORD function, DWORD arg1, DWORD arg2, DWORD arg3)
|
|||
case Syscall::PosixGetpid:
|
||||
return current->sys$getpid();
|
||||
case Syscall::PosixWaitpid:
|
||||
return current->sys$waitpid((pid_t)arg1);
|
||||
return current->sys$waitpid((pid_t)arg1, (int*)arg2, (int)arg3);
|
||||
case Syscall::PosixMmap:
|
||||
return (dword)current->sys$mmap((void*)arg1, (size_t)arg2);
|
||||
case Syscall::PosixMunmap:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue