Add creat function call. Fix direntry iteration in EXT2. Fix open of directories in EXT2. Fix re-utilization of unlinked direntries in EXT2.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/// MentOS, The Mentoring Operating system project
|
||||
/// @file creat.c
|
||||
/// @brief
|
||||
/// @copyright (c) 2014-2021 This file is distributed under the MIT License.
|
||||
/// See LICENSE.md for details.
|
||||
|
||||
#include "sys/unistd.h"
|
||||
#include "system/syscall_types.h"
|
||||
#include "sys/errno.h"
|
||||
|
||||
_syscall2(int, creat, const char *, pathname, mode_t, mode)
|
||||
Reference in New Issue
Block a user