commit | 2d729665162a21cf0bb5e5dc2f6ab36880e09ddd | [log] [tgz] |
---|---|---|
author | Chris Friedt <cfriedt@tenstorrent.com> | Sat Jun 15 08:54:41 2024 -0400 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Jun 27 09:01:23 2024 -0400 |
tree | d4199c7bbac55eb0b0ce14adc73392c33b31c57c | |
parent | 86b92934cc6c06a4080c6422269b815ac74c0aea [diff] |
posix: device_io: implement pread() and pwrite() Add pread() and pwrite() implementations, which are nearly identical to read() and write() but differ in that they do not update the file-descriptor offset and instead read from a specific file offset. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>