mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:47:45 +00:00
LibC: Implement posix_fadvise() (as a harmless no-op)
This commit is contained in:
parent
910532b8dc
commit
a7f702a021
2 changed files with 18 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
||||
* Copyright (c) 2018-2022, Andreas Kling <kling@serenityos.org>
|
||||
* Copyright (c) 2021, sin-ack <sin-ack@protonmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
|
@ -20,4 +20,6 @@ int create_inode_watcher(unsigned flags);
|
|||
int inode_watcher_add_watch(int fd, char const* path, size_t path_length, unsigned event_mask);
|
||||
int inode_watcher_remove_watch(int fd, int wd);
|
||||
|
||||
int posix_fadvise(int fd, off_t offset, off_t len, int advice);
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue