mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Added stub for lstat(2).
This commit is contained in:
parent
4b2c22d480
commit
f089a030b4
2 changed files with 6 additions and 0 deletions
|
@ -48,6 +48,7 @@ __BEGIN_DECLS
|
|||
int chmod(const char* path, mode_t mode);
|
||||
int fchmod(int fd, mode_t mode);
|
||||
int fstat(int fd, struct stat* st);
|
||||
int lstat(const char* restrict path, struct stat* restrict st);
|
||||
int mkdir(const char *path, mode_t mode);
|
||||
int stat(const char* restrict path, struct stat* restrict st);
|
||||
mode_t umask(mode_t mask);
|
||||
|
|
|
@ -290,6 +290,11 @@ namespace Maxsi
|
|||
return SysStat(path, st);
|
||||
}
|
||||
|
||||
extern "C" int lstat(const char* path, struct stat* st)
|
||||
{
|
||||
return SysStat(path, st);
|
||||
}
|
||||
|
||||
extern "C" int fstat(int fd, struct stat* st)
|
||||
{
|
||||
return SysFStat(fd, st);
|
||||
|
|
Loading…
Add table
Reference in a new issue