emg_open() function
•The emg_open() function is used to find data in the FFS.
•
•//*****************************************************************************
•// int emg_open( char *filename, uint32 *data_pointer, uint32 *file_size )
•//
•// User API to dynamic flash file system
•//
•// Finds the file descriptor in the FAT.
•// Sets data_pointer to start of data.
•// Sets file_size to size of file in bytes.
•// returns a < 0 if error, 0 = success
•//
•// for an example of using emg_open(), see cat command in menulib.c
•//
•//
•// Author: Eric Gregori (847) 651 - 1971
•// eric.gregori@freescale.com
•//*****************************************************************************
•int emg_open( char *filename, uint32 *data_pointer, uint32 *file_size )
•