summaryrefslogtreecommitdiff
path: root/src/user/lib/include/sys
diff options
context:
space:
mode:
authordzwdz2022-09-03 23:12:31 +0200
committerdzwdz2022-09-03 23:12:31 +0200
commitecc54f4be44fa1fd1ce79b0458a04eef2667cba8 (patch)
tree23a0ab00c8231f454915fc1f248a78a0044f3eb4 /src/user/lib/include/sys
parent1a276eef00057cb3171e9a63a674f07e840624b8 (diff)
user: implement a basic mkdir
Diffstat (limited to 'src/user/lib/include/sys')
-rw-r--r--src/user/lib/include/sys/stat.h7
1 files changed, 1 insertions, 6 deletions
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);