mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:27:34 +00:00
LibCore: Add syscall wrapper for pipe2()
This commit is contained in:
parent
bc2ee02ce0
commit
71bc9bee0a
2 changed files with 9 additions and 0 deletions
|
@ -15,6 +15,7 @@ namespace Core::System {
|
|||
#ifdef __serenity__
|
||||
ErrorOr<void> pledge(StringView promises, StringView execpromises);
|
||||
ErrorOr<void> unveil(StringView path, StringView permissions);
|
||||
ErrorOr<Array<int, 2>> pipe2(int flags);
|
||||
#endif
|
||||
|
||||
ErrorOr<void> sigaction(int signal, struct sigaction const* action, struct sigaction* old_action);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue