IMFS_stat()
rtems_filesystem_location_info_t *loc, struct stat *buf
imfs_stat.c
This routine actually performs status processing for both devices and regular files.
The IMFS_jnode_t structure is referenced to determine the type of node under the filesystem.
If the node is associated with a device, node information is extracted and transformed to set the st_dev element of the stat structure.
If the node is a regular file, the size of the regular file is extracted from the node.
This routine rejects other node types.
The following information is extracted from the node and placed in the stat structure:
Copyright © 1988-2008 OAR Corporation