diff options
Diffstat (limited to 'LibC/unistd.cpp')
-rw-r--r-- | LibC/unistd.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/LibC/unistd.cpp b/LibC/unistd.cpp index 81570ece70..42e3f49c32 100644 --- a/LibC/unistd.cpp +++ b/LibC/unistd.cpp @@ -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); +} + } |