LibCore: Add syscall wrapper for pipe2()

This commit is contained in:
Andreas Kling 2021-11-24 22:36:13 +01:00
commit 71bc9bee0a
Notes: sideshowbarker 2024-07-18 00:41:40 +09:00
2 changed files with 9 additions and 0 deletions

View file

@ -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);