1
Fork 0
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:
Andreas Kling 2019-02-23 17:24:50 +01:00
parent d7753c7c8d
commit a7a456002e
14 changed files with 110 additions and 45 deletions

View file

@ -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;