mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-30 00:07:59 +00:00
userspace/libc: update function signatures in fcntl.h
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
bd1d117283
commit
b0f0982fd4
@ -96,12 +96,12 @@ extern "C"
|
|||||||
#define POSIX_FADV_SEQUENTIAL
|
#define POSIX_FADV_SEQUENTIAL
|
||||||
#define POSIX_FADV_WILLNEED
|
#define POSIX_FADV_WILLNEED
|
||||||
|
|
||||||
int creat(const char *, mode_t);
|
int creat(const char *path, mode_t mode);
|
||||||
int fcntl(int, int, ...);
|
int fcntl(int fildes, int cmd, ...);
|
||||||
int open(const char *, int, ...);
|
int open(const char *path, int oflag, ...);
|
||||||
int openat(int, const char *, int, ...);
|
int openat(int fd, const char *path, int oflag, ...);
|
||||||
int posix_fadvise(int, off_t, off_t, int);
|
int posix_fadvise(int fd, off_t offset, off_t len, int advice);
|
||||||
int posix_fallocate(int, off_t, off_t);
|
int posix_fallocate(int fd, off_t offset, off_t len);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user