CH32V307_Template/src/syscalls.c

7 lines
102 B
C

#include <sys/stat.h>
int _fstat(int file, struct stat *st) {
st->st_mode = S_IFCHR;
return 0;
}