userspace/libc: update function signatures in fcntl.h

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-02-12 02:52:01 +02:00
parent bd1d117283
commit b0f0982fd4
No known key found for this signature in database
GPG Key ID: 2EE20AF089811A5A

View File

@ -96,12 +96,12 @@ extern "C"
#define POSIX_FADV_SEQUENTIAL
#define POSIX_FADV_WILLNEED
int creat(const char *, mode_t);
int fcntl(int, int, ...);
int open(const char *, int, ...);
int openat(int, const char *, int, ...);
int posix_fadvise(int, off_t, off_t, int);
int posix_fallocate(int, off_t, off_t);
int creat(const char *path, mode_t mode);
int fcntl(int fildes, int cmd, ...);
int open(const char *path, int oflag, ...);
int openat(int fd, const char *path, int oflag, ...);
int posix_fadvise(int fd, off_t offset, off_t len, int advice);
int posix_fallocate(int fd, off_t offset, off_t len);
#ifdef __cplusplus
}