diff options
author | dzwdz | 2023-06-09 17:22:31 +0200 |
---|---|---|
committer | dzwdz | 2023-06-09 17:22:31 +0200 |
commit | 112eafe13c3628cad6e692179c064dbbc3be2d8b (patch) | |
tree | 04bdb3df2d2e6fd7042dbefa117ff0e5a5447476 /src/user/lib/fcntl.c | |
parent | 668655053911072741883fd258c23e9d0668a853 (diff) |
ports/dash: stub out everything needed for dash to compile
Diffstat (limited to 'src/user/lib/fcntl.c')
-rw-r--r-- | src/user/lib/fcntl.c | 12 |
1 files changed, 12 insertions, 0 deletions
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 <bits/panic.h> +#include <fcntl.h> + +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"); +} |