mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 10:26:59 +00:00
refactor(libc): move Lua an DOOM stubs into shared libc modules
This commit is contained in:
15
src/userland/libc/fcntl.h
Normal file
15
src/userland/libc/fcntl.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef BOREDOS_LIBC_FCNTL_H
|
||||
#define BOREDOS_LIBC_FCNTL_H
|
||||
|
||||
#include "sys/types.h"
|
||||
|
||||
#define O_RDONLY 0x0000
|
||||
#define O_WRONLY 0x0001
|
||||
#define O_RDWR 0x0002
|
||||
#define O_CREAT 0x0040
|
||||
#define O_TRUNC 0x0200
|
||||
#define O_APPEND 0x0400
|
||||
|
||||
int open(const char *pathname, int flags, ...);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user