mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 23:37:43 +00:00
LibC: Enough compat work to make binutils-2.32 build and run.
This commit is contained in:
parent
d7753c7c8d
commit
a7a456002e
14 changed files with 110 additions and 45 deletions
|
@ -18,6 +18,12 @@ int killpg(int pgrp, int sig)
|
|||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
int raise(int sig)
|
||||
{
|
||||
// FIXME: Support multi-threaded programs.
|
||||
return kill(getpid(), sig);
|
||||
}
|
||||
|
||||
sighandler_t signal(int signum, sighandler_t handler)
|
||||
{
|
||||
struct sigaction new_act;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue