X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/db7fc030e9e04c881f5f12a0e23baa8db4e20ee1..0cf90cca0c924622f3fee8d2a3fafa8238363dc6:/lunaix-os/usr/includes/fcntl_defs.h diff --git a/lunaix-os/usr/includes/fcntl_defs.h b/lunaix-os/usr/includes/fcntl_defs.h index 01930cb..c6cbe4f 100644 --- a/lunaix-os/usr/includes/fcntl_defs.h +++ b/lunaix-os/usr/includes/fcntl_defs.h @@ -4,11 +4,21 @@ #define FO_CREATE 0x1 #define FO_APPEND 0x2 #define FO_DIRECT 0x4 +#define FO_WRONLY 0x8 +#define FO_RDONLY 0x10 +#define FO_RDWR 0x20 #define FSEEK_SET 0x1 #define FSEEK_CUR 0x2 #define FSEEK_END 0x3 +#define O_CREAT FO_CREATE +#define O_APPEND FO_APPEND +#define O_DIRECT FO_DIRECT +#define O_WRONLY FO_WRONLY +#define O_RDONLY FO_RDONLY +#define O_RDWR FO_RDWR + #define MNT_RO 0x1 #endif /* __LUNAIX_FNCTL_DEFS_H */