From ecc54f4be44fa1fd1ce79b0458a04eef2667cba8 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 3 Sep 2022 23:12:31 +0200 Subject: user: implement a basic mkdir --- src/user/lib/include/sys/stat.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/user/lib/include/sys') diff --git a/src/user/lib/include/sys/stat.h b/src/user/lib/include/sys/stat.h index 78a8fc1..5776f1e 100644 --- a/src/user/lib/include/sys/stat.h +++ b/src/user/lib/include/sys/stat.h @@ -11,9 +11,4 @@ static inline int fstat(int fd, struct stat *sb) { return -1; } -static inline int mkdir(const char *path, mode_t mode) { - // TODO - (void)path; (void)mode; - errno = ENOSYS; - return -1; -} +int mkdir(const char *path, mode_t mode); -- cgit v1.2.3