mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +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
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