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:
parent
8d1f8b2518
commit
7c3746592b
15 changed files with 153 additions and 60 deletions
12
LibC/stat.cpp
Normal file
12
LibC/stat.cpp
Normal 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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue