1
Fork 0
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:
Andreas Kling 2021-11-24 22:36:13 +01:00
parent bc2ee02ce0
commit 71bc9bee0a
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);