Hi could you send me the header that contains MQX_FILE_PTR?
Thanks,
Steve
Hi Steven:
Please refer to the attached header file.
Freescale_MQX_4_2\mqx\source\include\fio.h
/* FILE STRUCTURE */
/*!
* \brief This structure defines the information kept in order to implement ANSI
* 'C' standard I/O stream.
*/
typedef struct mqx_file
{
/*! \brief The address of the Device for this stream. */
struct io_device_struct *DEV_PTR;
/*! \brief Device Driver specific information. */
void *DEV_DATA_PTR;
/*! \brief General control flags for this stream. */
_mqx_uint FLAGS;
/*! \brief The current error for this stream. */
_mqx_uint ERROR;
/*! \brief The current position in the stream. */
_file_size LOCATION;
/*! \brief The current size of the file. */
_file_size SIZE;
/*! \brief Undelete implementation. */
bool HAVE_UNGOT_CHARACTER;
/*! \brief Undelete implementation. */
_mqx_int UNGOT_CHARACTER;
} MQX_FILE, * MQX_FILE_PTR;
Have a great day,
Daniel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------