fstat
This commit is contained in:
parent
c0e5bd7d26
commit
019f9749e2
@ -73,3 +73,5 @@ struct stat {
|
||||
|
||||
extern int stat(const char *file, struct stat *st);
|
||||
extern int lstat(const char *path, struct stat *st);
|
||||
extern int fstat(int fd, struct stat *st);
|
||||
|
||||
|
@ -156,3 +156,8 @@ int usleep(useconds_t usec) {
|
||||
syscall_nanosleep(0, usec / 10000);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int fstat(int file, struct stat *st) {
|
||||
syscall_fstat(file, st);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user