LibC: Implement truncate

This commit is contained in:
2025-06-01 13:48:03 +03:00
parent b75970958e
commit 31bcad2535
4 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ namespace Kernel
BAN::ErrorOr<long> sys_seek(int fd, off_t offset, int whence);
BAN::ErrorOr<long> sys_tell(int fd);
BAN::ErrorOr<long> sys_truncate(int fd, off_t length);
BAN::ErrorOr<long> sys_ftruncate(int fd, off_t length);
BAN::ErrorOr<long> sys_fsync(int fd);