Kernel/LibC: Add syscall and wrapper for unlink

This commit is contained in:
2023-10-25 21:45:04 +03:00
parent b7007016c0
commit 87ff38664a
5 changed files with 31 additions and 1 deletions

View File

@@ -98,6 +98,7 @@ namespace Kernel
BAN::ErrorOr<long> sys_write(int fd, const void* buffer, size_t count);
BAN::ErrorOr<long> sys_create(const char*, mode_t);
BAN::ErrorOr<long> sys_create_dir(const char*, mode_t);
BAN::ErrorOr<long> sys_unlink(const char*);
BAN::ErrorOr<long> sys_chmod(const char*, mode_t);