Luna/libs/libc/include/fcntl.h
apio 53a4b3b85e libc: Add new flags to open()
Since we now have write support, we can add O_WRONLY and O_RDWR to fcntl.h :)
2022-10-11 21:07:21 +02:00

19 lines
199 B
C

#ifndef _FCNTL_H
#define _FCNTL_H
#define O_RDONLY 1
#define O_WRONLY 2
#define O_RDWR 3
#ifdef __cplusplus
extern "C"
{
#endif
int open(const char*, int);
#ifdef __cplusplus
}
#endif
#endif