1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:37:46 +00:00

Kernel+LibC: Implement readlinkat(2)

Co-Authored-By: Daniel Bertalan <dani@danielbertalan.dev>
This commit is contained in:
sin-ack 2022-10-01 11:20:08 +00:00 committed by Andrew Kaster
parent 9850a69cd1
commit 6445a706cf
6 changed files with 16 additions and 6 deletions

View file

@ -88,6 +88,7 @@ int usleep(useconds_t);
int gethostname(char*, size_t);
int sethostname(char const*, ssize_t);
ssize_t readlink(char const* path, char* buffer, size_t);
ssize_t readlinkat(int dirfd, char const* path, char* buffer, size_t);
char* ttyname(int fd);
int ttyname_r(int fd, char* buffer, size_t);
off_t lseek(int fd, off_t, int whence);