Memfile_lseek()
rtems_libio_t *iop, off_t offset, int whence
memfile.c
This routine make sure that the memory based file is sufficiently large to allow for the new file position index.
The IMFS_memfile_extend() function is used to evaluate the current size of the memory file and allocate additional memory blocks if required by the new file position index. A success code is always returned from this routine.
Copyright © 1988-2007OAR Corporation