Add chdir (working) and getcwd (stub)

This commit is contained in:
Mark
2019-12-30 04:26:16 +02:00
parent 689d0d9534
commit d005f86b17
7 changed files with 66 additions and 21 deletions
+2
View File
@@ -5,6 +5,8 @@
#define SYSCALL_NR_OPEN 2
#define SYSCALL_NR_CLOSE 3
#define SYSCALL_NR_STAT 4
#define SYSCALL_NR_GETCWD 79
#define SYSCALL_NR_CHDIR 80
#define SYSCALL_NR_READDIR 89
#define SYSCALL_NR_BRK 12