summaryrefslogtreecommitdiff
path: root/fw/fe310/bsp/gloss/sys_openat.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/bsp/gloss/sys_openat.c')
-rw-r--r--fw/fe310/bsp/gloss/sys_openat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fw/fe310/bsp/gloss/sys_openat.c b/fw/fe310/bsp/gloss/sys_openat.c
new file mode 100644
index 0000000..206de3b
--- /dev/null
+++ b/fw/fe310/bsp/gloss/sys_openat.c
@@ -0,0 +1,8 @@
+#include <errno.h>
+
+int
+_openat(int dirfd, const char *name, int flags, int mode)
+{
+ errno = ENOSYS;
+ return -1;
+}