Changes in uspace/lib/libc/include/ipc/vfs.h [f7376cbf:2b88074b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/ipc/vfs.h
rf7376cbf r2b88074b 86 86 VFS_OUT_MOUNTED, 87 87 VFS_OUT_UNMOUNT, 88 VFS_OUT_UNMOUNTED,89 88 VFS_OUT_SYNC, 90 89 VFS_OUT_STAT, … … 101 100 * No lookup flags used. 102 101 */ 103 #define L_NONE 102 #define L_NONE 0 104 103 105 104 /** … … 108 107 * with L_DIRECTORY. 109 108 */ 110 #define L_FILE 109 #define L_FILE 1 111 110 112 111 /** 113 * Lookup wil lsucceed only if the object is a directory. If L_CREATE is112 * Lookup wil succeed only if the object is a directory. If L_CREATE is 114 113 * specified, an empty directory will be created. This flag is mutually 115 114 * exclusive with L_FILE. 116 115 */ 117 #define L_DIRECTORY 2 118 119 /** 120 * Lookup will succeed only if the object is a root directory. The flag is 121 * mutually exclusive with L_FILE and L_MP. 122 */ 123 #define L_ROOT 4 124 125 /** 126 * Lookup will succeed only if the object is a mount point. The flag is mutually 127 * exclusive with L_FILE and L_ROOT. 128 */ 129 #define L_MP 8 130 116 #define L_DIRECTORY 2 131 117 132 118 /** … … 134 120 * object already exists. L_EXCLUSIVE is implied when L_DIRECTORY is used. 135 121 */ 136 #define L_EXCLUSIVE 16122 #define L_EXCLUSIVE 4 137 123 138 124 /** 139 125 * L_CREATE is used for creating both regular files and directories. 140 126 */ 141 #define L_CREATE 32127 #define L_CREATE 8 142 128 143 129 /** 144 130 * L_LINK is used for linking to an already existing nodes. 145 131 */ 146 #define L_LINK 64132 #define L_LINK 16 147 133 148 134 /** … … 151 137 * VFS_UNLINK. 152 138 */ 153 #define L_UNLINK 128139 #define L_UNLINK 32 154 140 155 141 /** 156 * L_OPEN is used to indicate that the lookup operation is a part of VFS_ IN_OPEN142 * L_OPEN is used to indicate that the lookup operation is a part of VFS_OPEN 157 143 * call from the client. This means that the server might allocate some 158 144 * resources for the opened file. This flag cannot be passed directly by the 159 145 * client. 160 146 */ 161 #define L_OPEN 256147 #define L_OPEN 64 162 148 163 149 #endif
Note:
See TracChangeset
for help on using the changeset viewer.