mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:17:45 +00:00
LibCore: Add lstat() syscall wrapper
This commit is contained in:
parent
21acebd372
commit
1640445cb2
2 changed files with 19 additions and 0 deletions
|
@ -30,6 +30,7 @@ ErrorOr<int> open(StringView path, int options, ...);
|
|||
ErrorOr<void> close(int fd);
|
||||
ErrorOr<void> ftruncate(int fd, off_t length);
|
||||
ErrorOr<struct stat> stat(StringView path);
|
||||
ErrorOr<struct stat> lstat(StringView path);
|
||||
ErrorOr<ssize_t> read(int fd, Bytes buffer);
|
||||
ErrorOr<ssize_t> write(int fd, ReadonlyBytes buffer);
|
||||
ErrorOr<void> kill(pid_t, int signal);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue