Kernel: Make chdir() take path+length

This commit is contained in:
Andreas Kling 2020-01-05 22:06:25 +01:00
commit c5890afc8b
Notes: sideshowbarker 2024-07-19 10:19:34 +09:00
3 changed files with 6 additions and 5 deletions

View file

@ -144,7 +144,7 @@ public:
int sys$poll(pollfd*, int nfds, int timeout);
ssize_t sys$get_dir_entries(int fd, void*, ssize_t);
int sys$getcwd(char*, ssize_t);
int sys$chdir(const char*);
int sys$chdir(const char*, size_t);
int sys$fchdir(int fd);
int sys$sleep(unsigned seconds);
int sys$usleep(useconds_t usec);