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