lib: fs: implement memory-mapped file i/o

This commit is contained in:
2026-03-15 09:43:49 +00:00
parent 68b7783f32
commit 0c56c645ac
12 changed files with 580 additions and 5 deletions

View File

@@ -27,9 +27,14 @@ extern enum fs_status fs_file_read(
struct fs_file *f,
struct xpc_buffer *buf,
size_t count);
extern enum fs_status fs_file_write(
extern enum fs_status fs_file_read_at(
struct fs_file *f,
struct xpc_buffer *buf,
off_t offset,
size_t count);
extern enum fs_status fs_file_write(
struct fs_file *f,
const struct xpc_buffer *buf,
size_t count);
#endif