1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

Add strsignal() and improve sharing signal numbers between LibC and kernel.

This commit is contained in:
Andreas Kling 2018-11-06 15:45:16 +01:00
parent 8d1f8b2518
commit 7c3746592b
15 changed files with 153 additions and 60 deletions

12
LibC/stat.cpp Normal file
View file

@ -0,0 +1,12 @@
#include <sys/stat.h>
#include <Kernel/Syscall.h>
extern "C" {
mode_t umask(mode_t mask)
{
return Syscall::invoke(Syscall::SC_umask, (dword)mask);
}
}