diff options
Diffstat (limited to 'code/fe310/gloss/sys_fstat.c')
-rw-r--r-- | code/fe310/gloss/sys_fstat.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/code/fe310/gloss/sys_fstat.c b/code/fe310/gloss/sys_fstat.c new file mode 100644 index 0000000..fedc289 --- /dev/null +++ b/code/fe310/gloss/sys_fstat.c @@ -0,0 +1,9 @@ +#include <errno.h> +#include <sys/stat.h> + +int +_fstat(int file, struct stat *st) +{ + errno = -ENOSYS; + return -1; +} |