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