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 - SYS_FDCTL
[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
1bae964
..
00eeebb
100644
(file)
--- a/
KernelLand/Kernel/include/vfs_ext.h
+++ b/
KernelLand/Kernel/include/vfs_ext.h
@@
-32,7
+32,7
@@
typedef Uint32 tMount;
//! Create the file if it doesn't exist
#define VFS_OPENFLAG_CREATE 0x80
//! Treat as a directory
//! Create the file if it doesn't exist
#define VFS_OPENFLAG_CREATE 0x80
//! Treat as a directory
-#define VFS_OPENFLAG_DIRECTORY 0x100
+#define VFS_OPENFLAG_DIRECTORY 0x100
0
//! Open as a user
#define VFS_OPENFLAG_USER 0x8000
/**
//! Open as a user
#define VFS_OPENFLAG_USER 0x8000
/**
@@
-233,6
+233,11
@@
extern void VFS_Close(int FD);
*/
extern int VFS_DuplicateFD(int SrcFD, int DstFD);
*/
extern int VFS_DuplicateFD(int SrcFD, int DstFD);
+/**
+ * \brief Update the flags on a FD
+ */
+extern int VFS_SetFDFlags(int FD, int Mask, int Value);
+
/**
* \brief Get file information from an open file
* \param FD File handle returned by ::VFS_Open
/**
* \brief Get file information from an open file
* \param FD File handle returned by ::VFS_Open
UCC
git Repository :: git.ucc.asn.au