Skip to content
Snippets Groups Projects
Commit 14957bb8 authored by Paul Sajna's avatar Paul Sajna
Browse files

fix harder

parent c7e9ec8a
No related branches found
No related tags found
No related merge requests found
......@@ -200,6 +200,7 @@ pub fn lstat(path: *const c_char, buf: *mut stat) -> c_int {
res
}
}
}
pub fn mkdir(path: *const c_char, mode: mode_t) -> c_int {
let flags = O_CREAT | O_EXCL | O_CLOEXEC | O_DIRECTORY | mode as usize & 0o777;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment