libc: io: implement file io buffering and internal locking for concurrency

This commit is contained in:
2026-04-01 18:51:13 +01:00
parent f2e650d368
commit 548387c43a
23 changed files with 948 additions and 73 deletions
+8
View File
@@ -0,0 +1,8 @@
#include "file.h"
#include <unistd.h>
int fseek(struct __opaque_file *stream, long offset, int origin)
{
return lseek(stream->f_fd, offset, origin);
}