Add writing to existing files and overwriting cp

This commit is contained in:
2026-06-19 23:09:11 +03:00
parent 325dc6339a
commit 01cd3f528c
15 changed files with 534 additions and 131 deletions
+5 -1
View File
@@ -22,7 +22,11 @@ fs_node_t *fs_open_again(const fs_node_t *source);
stream_t *fs_open_stream(const fs_node_t *source);
void fs_read(const fs_node_t *file, uint64_t offset, uint64_t size, void *to);
void fs_read(const fs_node_t *file, uint32_t offset, uint32_t bytes, void *to);
void fs_write(fs_node_t *file, uint32_t offset, const void *from, uint32_t bytes);
void fs_truncate(fs_node_t *file, uint32_t size);
void fs_close(fs_node_t *node);