diff --git a/userspace/libraries/LibC/sys/stat.cpp b/userspace/libraries/LibC/sys/stat.cpp index ef82df56..4a4f7c14 100644 --- a/userspace/libraries/LibC/sys/stat.cpp +++ b/userspace/libraries/LibC/sys/stat.cpp @@ -1,4 +1,5 @@ #include +#include #include #include @@ -54,6 +55,34 @@ int mkdir(const char* path, mode_t mode) return syscall(SYS_CREATE_DIR, path, __UMASKED_MODE(mode)); } +int mkfifo(const char* path, mode_t mode) +{ + (void)path; (void)mode; + dwarnln("TODO: mkfifo"); + return -1; +} + +int mkfifoat(int fd, const char* path, mode_t mode) +{ + (void)fd; (void)path; (void)mode; + dwarnln("TODO: mkfifoat"); + return -1; +} + +int mknod(const char* path, mode_t mode, dev_t dev) +{ + (void)path; (void)mode; (void)dev; + dwarnln("TODO: mknod"); + return -1; +} + +int mknodat(int fd, const char* path, mode_t mode, dev_t dev) +{ + (void)fd; (void)path; (void)mode; (void)dev; + dwarnln("TODO: mknodat"); + return -1; +} + int futimens(int fd, const struct timespec times[2]) { return utimensat(fd, nullptr, times, 0);