mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
Add an lstat() syscall and use it to make "ls" nicer.
This commit is contained in:
parent
bca4b71bfa
commit
5f36a5f22e
10 changed files with 118 additions and 2 deletions
|
@ -92,6 +92,7 @@ public:
|
|||
int sys$open(const char* path, size_t pathLength);
|
||||
int sys$close(int fd);
|
||||
int sys$read(int fd, void* outbuf, size_t nread);
|
||||
int sys$lstat(const char*, void* statbuf);
|
||||
int sys$seek(int fd, int offset);
|
||||
int sys$kill(pid_t pid, int sig);
|
||||
int sys$geterror() { return m_error; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue