imfs_dir_fstat()
rtems_filesystem_location_info_t *loc, struct stat *buf
imfs_directory.c
The node access information in the rtems_filesystem_location_info_t structure is used to locate the appropriate IMFS_jnode_t structure. The following information is taken from the IMFS_jnode_t structure and placed in the stat structure:
The st_size field is obtained by running through the chain of directory entries and summing the sizes of the dirent structures associated with each of the children of the directory.
Copyright © 1988-2003 OAR Corporation