summaryrefslogtreecommitdiff
path: root/fw/fe310/bsp/gloss/sys_fstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/bsp/gloss/sys_fstat.c')
-rw-r--r--fw/fe310/bsp/gloss/sys_fstat.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/fw/fe310/bsp/gloss/sys_fstat.c b/fw/fe310/bsp/gloss/sys_fstat.c
new file mode 100644
index 0000000..fedc289
--- /dev/null
+++ b/fw/fe310/bsp/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;
+}