MQX_FILE_PTR header

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MQX_FILE_PTR header

1,219 次查看
stevenbell11
Contributor I

Hi could you send me the header that contains MQX_FILE_PTR?

Thanks,

    Steve

0 项奖励
回复
1 回复

1,072 次查看
danielchen
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复