mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 17:27:34 +00:00
LibSystem: Add wrapper for fstat()
This commit is contained in:
parent
2828d58a10
commit
acc2eccede
2 changed files with 17 additions and 8 deletions
|
@ -8,11 +8,13 @@
|
|||
|
||||
#include <AK/Error.h>
|
||||
#include <signal.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
namespace System {
|
||||
|
||||
ErrorOr<void> pledge(StringView promises, StringView execpromises);
|
||||
ErrorOr<void> unveil(StringView path, StringView permissions);
|
||||
ErrorOr<void> sigaction(int signal, struct sigaction const* action, struct sigaction* old_action);
|
||||
ErrorOr<struct stat> fstat(int fd);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue