summaryrefslogtreecommitdiff
path: root/code/fe310/bsp/gloss/sys_lseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/bsp/gloss/sys_lseek.c')
-rw-r--r--code/fe310/bsp/gloss/sys_lseek.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/code/fe310/bsp/gloss/sys_lseek.c b/code/fe310/bsp/gloss/sys_lseek.c
new file mode 100644
index 0000000..d28a781
--- /dev/null
+++ b/code/fe310/bsp/gloss/sys_lseek.c
@@ -0,0 +1,9 @@
+#include <sys/types.h>
+#include <errno.h>
+
+off_t
+_lseek(int file, off_t ptr, int dir)
+{
+ errno = ENOSYS;
+ return -1;
+}