Changeset 612 for trunk/kernel/fs/devfs.h
- Timestamp:
- Jan 11, 2019, 6:35:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/fs/devfs.h
r598 r612 137 137 uint32_t size ); 138 138 139 /****************************************************************************************** 140 * As the DEVFS is dynamically build in memory during kernel init, all relevant 141 * information is contained in the Inode Tree. Therefore, this function simply 142 * access the xhtab contained in the <inode> descriptor, to get the dentries 143 * to be copied in the dirent <array>. 144 ****************************************************************************************** 145 * @ inode : [in] local pointer on directory inode. 146 * @ array : [in] local pointer on array of dirents. 147 * @ max_dirent : [in] max number of slots in dirent array. 148 * @ min_dentry : [in] index of first dentry to be copied into array. 149 * @ detailed : [in] dynamic inode creation if true. 150 * @ entries : [out] number of dentries actually copied into array. 151 * @ done : [out] Boolean true when last entry found. 152 * @ return 0 if success / return -1 if failure. 153 *****************************************************************************************/ 154 error_t devfs_get_user_dir( struct vfs_inode_s * inode, 155 struct dirent * array, 156 uint32_t max_dirent, 157 uint32_t min_dentry, 158 bool_t detailed, 159 uint32_t * entries, 160 bool_t * done ); 161 139 162 140 163 #endif /* _DEVFS_H_ */
Note: See TracChangeset
for help on using the changeset viewer.