feat: expand user mode, add DOOM game, add manpages

This commit is contained in:
2026-02-18 15:13:53 +01:00
parent 605fbcbe42
commit 24af60d669
51 changed files with 4484 additions and 43 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef _LIBC_FCNTL_H
#define _LIBC_FCNTL_H
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#define O_RDONLY 0
#define O_WRONLY 1
#define O_RDWR 2
#define O_CREAT 0x40
#define O_TRUNC 0x200
int open(const char *path, int flags, ...);
#ifdef __cplusplus
}
#endif
#endif /* _LIBC_FCNTL_H */