From af6320c545f13c62958120a3724113d483f2a904 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 10 Apr 2024 11:26:52 -0400 Subject: libc: Add open() Signed-off-by: Ian Moffett --- lib/libc/include/fcntl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libc/include') diff --git a/lib/libc/include/fcntl.h b/lib/libc/include/fcntl.h index 132aa0e..d17bf33 100644 --- a/lib/libc/include/fcntl.h +++ b/lib/libc/include/fcntl.h @@ -41,4 +41,6 @@ #define O_WRONLY 0x00001 #define O_RDWR 0x00002 +int open(const char *pathname, int flags, ...); + #endif /* !_FCNTL_H */ -- cgit v1.2.3