summaryrefslogtreecommitdiff
path: root/code/fe310/gloss/sys_lstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/gloss/sys_lstat.c')
-rw-r--r--code/fe310/gloss/sys_lstat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/code/fe310/gloss/sys_lstat.c b/code/fe310/gloss/sys_lstat.c
new file mode 100644
index 0000000..97a4585
--- /dev/null
+++ b/code/fe310/gloss/sys_lstat.c
@@ -0,0 +1,8 @@
+#include <errno.h>
+#include <sys/stat.h>
+
+int _lstat(const char *file, struct stat *st)
+{
+ errno = ENOSYS;
+ return -1;
+}