2022-03-29 07:05:50 +00:00
|
|
|
#include <sys/stat.h>
|
|
|
|
|
|
|
|
int _fstat(int file, struct stat *st) {
|
|
|
|
st->st_mode = S_IFCHR;
|
|
|
|
|
|
|
|
return 0;
|
2022-04-30 10:04:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
int _close(int file) {
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
int _isatty(int file) {
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
off_t _lseek(int file, off_t pos, int whence) {
|
|
|
|
return -1;
|
|
|
|
}
|