From 112eafe13c3628cad6e692179c064dbbc3be2d8b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 9 Jun 2023 17:22:31 +0200 Subject: ports/dash: stub out everything needed for dash to compile --- src/user/lib/fcntl.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/user/lib/fcntl.c (limited to 'src/user/lib/fcntl.c') diff --git a/src/user/lib/fcntl.c b/src/user/lib/fcntl.c new file mode 100644 index 0000000..fcec545 --- /dev/null +++ b/src/user/lib/fcntl.c @@ -0,0 +1,12 @@ +#include +#include + +int open(const char *path, int flags, ...) { + (void)path; (void)flags; + __libc_panic("unimplemented"); +} + +int fcntl(int fd, int cmd, ...) { + (void)fd; (void)cmd; + __libc_panic("unimplemented"); +} -- cgit v1.2.3