generated from Embedded_Projects/CH32V307_Template
20 lines
246 B
C
20 lines
246 B
C
|
#include <sys/stat.h>
|
||
|
|
||
|
int _fstat(int file, struct stat *st) {
|
||
|
st->st_mode = S_IFCHR;
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
int _close(int file) {
|
||
|
return -1;
|
||
|
}
|
||
|
|
||
|
int _isatty(int file) {
|
||
|
return -1;
|
||
|
}
|
||
|
|
||
|
off_t _lseek(int file, off_t pos, int whence) {
|
||
|
return -1;
|
||
|
}
|