imfs_dir_open()
rtems_libio_t *iop, const char *pathname, unsigned32 flag, unsigned32 mode
imfs_directory.c
This routine will look into the file control block to find the jnode
that
is associated with the directory.
The routine will verify that the node is a directory. If its not a directory an error code will be returned.
If it is a directory, the offset in the file control block will be set to 0. This allows us to start reading at the beginning of the directory.
Copyright © 1988-2008 OAR Corporation