From b0f0982fd4b60f3a15113f6f13bb349197f69ea4 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Wed, 12 Feb 2025 02:52:01 +0200 Subject: [PATCH] userspace/libc: update function signatures in fcntl.h Signed-off-by: EnderIce2 --- Userspace/libc/include/fcntl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Userspace/libc/include/fcntl.h b/Userspace/libc/include/fcntl.h index c444c77e..e76907d1 100644 --- a/Userspace/libc/include/fcntl.h +++ b/Userspace/libc/include/fcntl.h @@ -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 }