summaryrefslogtreecommitdiff
path: root/userland/libc/stdio/remove.c
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/stdio/remove.c')
-rw-r--r--userland/libc/stdio/remove.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/userland/libc/stdio/remove.c b/userland/libc/stdio/remove.c
new file mode 100644
index 0000000..35b41ad
--- /dev/null
+++ b/userland/libc/stdio/remove.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include <errno.h>
+
+extern int errno;
+int remove(const char *path) {
+ // FIXME
+ errno = ENAMETOOLONG;
+ return -1;
+}