mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +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
|
@ -40,5 +40,10 @@ pid_t waitpid(pid_t waitee)
|
|||
return Syscall::invoke(Syscall::PosixWaitpid, waitee);
|
||||
}
|
||||
|
||||
int lstat(const char* path, stat* statbuf)
|
||||
{
|
||||
return Syscall::invoke(Syscall::PosixLstat, (dword)path, (dword)statbuf);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue