mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
Add umask().
This commit is contained in:
parent
77fe8e8363
commit
b2d23f83ab
Notes:
sideshowbarker
2024-07-19 18:33:05 +09:00
Author: https://github.com/awesomekling
Commit: b2d23f83ab
6 changed files with 23 additions and 0 deletions
|
@ -1320,6 +1320,13 @@ pid_t Process::sys$getppid()
|
|||
return m_ppid;
|
||||
}
|
||||
|
||||
mode_t Process::sys$umask(mode_t mask)
|
||||
{
|
||||
auto old_mask = m_umask;
|
||||
m_umask = mask;
|
||||
return old_mask;
|
||||
}
|
||||
|
||||
pid_t Process::sys$waitpid(pid_t waitee, int* wstatus, int options)
|
||||
{
|
||||
if (wstatus)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue