mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +00:00
LibCore: Add syscall wrappers for sendfd() and recvfd()
This commit is contained in:
parent
86a3ef2709
commit
982ac34437
2 changed files with 18 additions and 0 deletions
|
@ -16,6 +16,8 @@ namespace Core::System {
|
|||
ErrorOr<void> pledge(StringView promises, StringView execpromises = {});
|
||||
ErrorOr<void> unveil(StringView path, StringView permissions);
|
||||
ErrorOr<Array<int, 2>> pipe2(int flags);
|
||||
ErrorOr<void> sendfd(int sockfd, int fd);
|
||||
ErrorOr<int> recvfd(int sockfd, int options);
|
||||
#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