mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:38:11 +00:00
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:
parent
e6443649cb
commit
99aead4857
8 changed files with 111 additions and 54 deletions
|
@ -390,3 +390,8 @@ struct [[gnu::packed]] FarPtr {
|
|||
dword offset { 0 };
|
||||
word selector { 0 };
|
||||
};
|
||||
|
||||
struct iovec {
|
||||
void* iov_base;
|
||||
size_t iov_len;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue