syscalls: implement getcwd syscall

This commit is contained in:
2025-10-30 20:26:28 +03:00
parent 26c8280059
commit f4b0429062
9 changed files with 192 additions and 11 deletions
+1 -1
View File
@@ -9,4 +9,4 @@
#define USER_STACK_SIZE 0x4000 // 16KB stack (4 pages)
#define USER_STACK_BOTTOM (USER_STACK_TOP - USER_STACK_SIZE)
void exec_from_file(l9660_file* fs_file, const char* dirname);
void exec_from_file(l9660_file* fs_file, l9660_dir* dir);