mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibCore: Add syscall wrapper for ftruncate()
This commit is contained in:
parent
4bf08e4d52
commit
4a213869f2
Notes:
sideshowbarker
2024-07-18 00:48:47 +09:00
Author: https://github.com/awesomekling
Commit: 4a213869f2
2 changed files with 8 additions and 0 deletions
|
@ -24,5 +24,6 @@ ErrorOr<void*> mmap(void* address, size_t, int protection, int flags, int fd, of
|
|||
ErrorOr<void> munmap(void* address, size_t);
|
||||
ErrorOr<int> open(StringView path, int options, ...);
|
||||
ErrorOr<void> close(int fd);
|
||||
ErrorOr<void> ftruncate(int fd, off_t length);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue