1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00

Kernel: Implement fchdir syscall

The fchdir() function is equivalent to chdir() except that the
directory that is to be the new current working directory is
specified by a file descriptor.
This commit is contained in:
Mauri de Souza Nunes 2019-09-11 20:18:25 -03:00 committed by Andreas Kling
parent 26e81ad574
commit 7d85fc00e4
6 changed files with 24 additions and 0 deletions

View file

@ -152,6 +152,7 @@ public:
ssize_t sys$get_dir_entries(int fd, void*, ssize_t);
int sys$getcwd(char*, ssize_t);
int sys$chdir(const char*);
int sys$fchdir(int fd);
int sys$sleep(unsigned seconds);
int sys$usleep(useconds_t usec);
int sys$gettimeofday(timeval*);