mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibC: Add all the POSIX_FADV_*
constants
This commit is contained in:
parent
1cc69edc34
commit
a212a741df
Notes:
sideshowbarker
2024-07-17 21:11:12 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/a212a741df Pull-request: https://github.com/SerenityOS/serenity/pull/13840
1 changed files with 7 additions and 0 deletions
|
@ -11,6 +11,13 @@
|
|||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#define POSIX_FADV_DONTNEED 1
|
||||
#define POSIX_FADV_NOREUSE 2
|
||||
#define POSIX_FADV_NORMAL 3
|
||||
#define POSIX_FADV_RANDOM 4
|
||||
#define POSIX_FADV_SEQUENTIAL 5
|
||||
#define POSIX_FADV_WILLNEED 6
|
||||
|
||||
int creat(char const* path, mode_t);
|
||||
int open(char const* path, int options, ...);
|
||||
int openat(int dirfd, char const* path, int options, ...);
|
||||
|
|
Loading…
Reference in a new issue