mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
Kernel: Implement pread syscall
The OpenFileDescription class already offers the necessary functionlity, so implementing this was only a matter of following the structure for `read` while handling the additional `offset` argument.
This commit is contained in:
parent
8936b111a7
commit
e1093c3403
Notes:
sideshowbarker
2024-07-18 02:47:22 +09:00
Author: https://github.com/rtobar
Commit: e1093c3403
Pull-request: https://github.com/SerenityOS/serenity/pull/10450
3 changed files with 23 additions and 0 deletions
|
@ -140,6 +140,7 @@ enum class NeedsBigProcessLock {
|
|||
S(ptsname, NeedsBigProcessLock::Yes) \
|
||||
S(purge, NeedsBigProcessLock::Yes) \
|
||||
S(read, NeedsBigProcessLock::Yes) \
|
||||
S(pread, NeedsBigProcessLock::Yes) \
|
||||
S(readlink, NeedsBigProcessLock::Yes) \
|
||||
S(readv, NeedsBigProcessLock::Yes) \
|
||||
S(realpath, NeedsBigProcessLock::Yes) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue