Add more raw system calls to redbean

We now have execve, setitimer, sigaction, sigsuspend, and sigprocmask.
This commit is contained in:
Justine Tunney 2022-04-13 14:43:42 -07:00
parent 281a0f2730
commit fb7e8ef1e6
8 changed files with 329 additions and 73 deletions

View file

@ -45,7 +45,7 @@ static textwindows inline bool HasWorkingConsole(void) {
*/
int raise(int sig) {
int rc, event;
STRACE("raise(%G) → [...]", sig);
STRACE("raise(%G) → ...", sig);
if (sig == SIGTRAP) {
DebugBreak();
rc = 0;
@ -75,6 +75,6 @@ int raise(int sig) {
rc = __sig_raise(sig, SI_USER);
}
}
STRACE("[...] raise(%G) → %d% m", sig, rc);
STRACE("...raise(%G) → %d% m", sig, rc);
return rc;
}