git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel - Added 'Flags' param to VFS Read/Write/FindDir
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
include
/
vfs_ext.h
diff --git
a/KernelLand/Kernel/include/vfs_ext.h
b/KernelLand/Kernel/include/vfs_ext.h
index
00eeebb
..
a3a8564
100644
(file)
--- a/
KernelLand/Kernel/include/vfs_ext.h
+++ b/
KernelLand/Kernel/include/vfs_ext.h
@@
-22,15
+22,17
@@
typedef Uint32 tMount;
* \{
*/
//! Open for execution
* \{
*/
//! Open for execution
-#define VFS_OPENFLAG_EXEC 0x01
+#define VFS_OPENFLAG_EXEC 0x0
0
1
//! Open for reading
//! Open for reading
-#define VFS_OPENFLAG_READ 0x02
+#define VFS_OPENFLAG_READ 0x0
0
2
//! Open for writing
//! Open for writing
-#define VFS_OPENFLAG_WRITE 0x04
+#define VFS_OPENFLAG_WRITE 0x0
0
4
//! Do not resolve the final symbolic link
//! Do not resolve the final symbolic link
-#define VFS_OPENFLAG_NOLINK 0x40
+#define VFS_OPENFLAG_NOLINK 0x
0
40
//! Create the file if it doesn't exist
//! Create the file if it doesn't exist
-#define VFS_OPENFLAG_CREATE 0x80
+#define VFS_OPENFLAG_CREATE 0x080
+//! Open file as non-blocking
+#define VFS_OPENFLAG_NONBLOCK 0x100
//! Treat as a directory
#define VFS_OPENFLAG_DIRECTORY 0x1000
//! Open as a user
//! Treat as a directory
#define VFS_OPENFLAG_DIRECTORY 0x1000
//! Open as a user
UCC
git Repository :: git.ucc.asn.au