diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-04-28 12:39:12 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-28 14:19:45 +0200 |
commit | aa792062cbb0d39092948a7e71fad59737c4ac66 (patch) | |
tree | 09ff716195ccdaa7771f7188d2c9c77fd2183946 /Kernel/API/Syscall.h | |
parent | c841012f569dba4fa72e9eb8989bb847be4535bc (diff) | |
download | serenity-aa792062cbb0d39092948a7e71fad59737c4ac66.zip |
Kernel+LibC: Implement the socketpair() syscall
Diffstat (limited to 'Kernel/API/Syscall.h')
-rw-r--r-- | Kernel/API/Syscall.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index ec9c032a80..1ca6d4278c 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -120,6 +120,7 @@ namespace Kernel { S(beep) \ S(getsockname) \ S(getpeername) \ + S(socketpair) \ S(sched_setparam) \ S(sched_getparam) \ S(fchown) \ @@ -293,6 +294,13 @@ struct SC_getpeername_params { socklen_t* addrlen; }; +struct SC_socketpair_params { + int domain; + int type; + int protocol; + int* sv; +}; + struct SC_futex_params { u32* userspace_address; int futex_op; |