Kernel: Add a writev() syscall for writing multiple buffers in one go.

We then use this immediately in the WindowServer/LibGUI communication in
order to send both message + optional "extra data" with a single syscall.
This commit is contained in:
Andreas Kling 2019-05-10 03:19:25 +02:00
commit 99aead4857
Notes: sideshowbarker 2024-07-19 14:11:09 +09:00
8 changed files with 111 additions and 54 deletions

View file

@ -390,3 +390,8 @@ struct [[gnu::packed]] FarPtr {
dword offset { 0 };
word selector { 0 };
};
struct iovec {
void* iov_base;
size_t iov_len;
};