mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
Add strsignal() and improve sharing signal numbers between LibC and kernel.
This commit is contained in:
parent
8d1f8b2518
commit
7c3746592b
Notes:
sideshowbarker
2024-07-19 18:33:00 +09:00
Author: https://github.com/awesomekling
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