mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:17:35 +00:00
LibCore: Add Core::System::posix_fallocate()
This commit is contained in:
parent
9249bcb5aa
commit
c8ff2184bd
2 changed files with 14 additions and 0 deletions
|
@ -206,4 +206,8 @@ ErrorOr<void> unlockpt(int fildes);
|
|||
ErrorOr<void> access(StringView pathname, int mode);
|
||||
ErrorOr<String> readlink(StringView pathname);
|
||||
|
||||
#ifdef AK_OS_SERENITY
|
||||
ErrorOr<void> posix_fallocate(int fd, off_t offset, off_t length);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue