syscalls: add chdir and getcwd syscalls, not tested yet

This commit is contained in:
2025-07-16 15:42:35 +03:00
parent aac4375b8e
commit 359e5c6d78
2 changed files with 26 additions and 0 deletions
+1
View File
@@ -65,6 +65,7 @@ typedef struct Process
struct Process* next; // Следующий процесс
file_t* file_descriptors[MAX_OPEN_FILES];
dir_t* cwd;
} Process;
extern Process* current;