mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
A bunch of compat work (mostly stubs but some real implementations, too.)
Another pass at getting bash-1.14.7 to build. Not that many symbols remain.
This commit is contained in:
parent
6a0a2c9ab4
commit
3b2f172d48
9 changed files with 134 additions and 2 deletions
|
@ -11,6 +11,12 @@ int kill(pid_t pid, int sig)
|
|||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
int killpg(int pgrp, int sig)
|
||||
{
|
||||
int rc = Syscall::invoke(Syscall::SC_killpg, (dword)pgrp, (dword)sig);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
sighandler_t signal(int signum, sighandler_t handler)
|
||||
{
|
||||
sighandler_t old_handler = (sighandler_t)Syscall::invoke(Syscall::SC_signal, (dword)signum, (dword)handler);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue