imfs_dir_lseek()
rtems_libio_t *iop, off_t offset, int whence
imfs_directory.c
This routine alters the offset in the file control block.
No test is performed on the number of children under the current open directory. The imfs_dir_read() function protects against reads beyond the current size to the directory by returning a 0 bytes transfered to the calling programs whenever the file position index exceeds the last entry in the open directory.
Copyright © 1988-2008 OAR Corporation