From 6a5543bb8f1f535ca49737bcd7be0cafca3b2a08 Mon Sep 17 00:00:00 2001 From: hachem Date: Mon, 12 Oct 2026 23:08:48 +0200 Subject: feat: lib sea --- sysroot/usr/include/fcntl.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sysroot/usr/include/fcntl.h (limited to 'sysroot/usr/include/fcntl.h') diff --git a/sysroot/usr/include/fcntl.h b/sysroot/usr/include/fcntl.h new file mode 100644 index 0000000..4c9dc07 --- /dev/null +++ b/sysroot/usr/include/fcntl.h @@ -0,0 +1,12 @@ +#ifndef _FCNTL_H +#define _FCNTL_H + +#define O_RDONLY 0 +#define O_WRONLY 1 +#define O_CREAT 0x40 +#define O_TRUNC 0x200 +#define O_APPEND 0x400 + +int open(const char* path, int flags); + +#endif -- cgit v1.3