Changes in uspace/lib/libc/include/ipc/vfs.h [f7376cbf:4b995b92] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/ipc/vfs.h
rf7376cbf r4b995b92 101 101 * No lookup flags used. 102 102 */ 103 #define L_NONE 103 #define L_NONE 0 104 104 105 105 /** … … 108 108 * with L_DIRECTORY. 109 109 */ 110 #define L_FILE 110 #define L_FILE 1 111 111 112 112 /** 113 * Lookup wil lsucceed only if the object is a directory. If L_CREATE is113 * Lookup wil succeed only if the object is a directory. If L_CREATE is 114 114 * specified, an empty directory will be created. This flag is mutually 115 115 * exclusive with L_FILE. 116 116 */ 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 117 #define L_DIRECTORY 2 131 118 132 119 /** … … 134 121 * object already exists. L_EXCLUSIVE is implied when L_DIRECTORY is used. 135 122 */ 136 #define L_EXCLUSIVE 16123 #define L_EXCLUSIVE 4 137 124 138 125 /** 139 126 * L_CREATE is used for creating both regular files and directories. 140 127 */ 141 #define L_CREATE 32128 #define L_CREATE 8 142 129 143 130 /** 144 131 * L_LINK is used for linking to an already existing nodes. 145 132 */ 146 #define L_LINK 64133 #define L_LINK 16 147 134 148 135 /** … … 151 138 * VFS_UNLINK. 152 139 */ 153 #define L_UNLINK 128140 #define L_UNLINK 32 154 141 155 142 /** … … 159 146 * client. 160 147 */ 161 #define L_OPEN 256 148 #define L_OPEN 64 149 150 /** 151 * L_NOCROSS_LAST_MP is used exclusively during the VFS_IN_UNMOUNT operation. It 152 * tells the lookup routine not to cross the last mount point in the lookup 153 * path. 154 */ 155 #define L_NOCROSS_LAST_MP 128 162 156 163 157 #endif
Note:
See TracChangeset
for help on using the changeset viewer.