Nut/OS  5.0.5
API Reference
_RAWFILE Struct Reference

Raw device file descriptor. More...

#include <rawfs.h>

Collaboration diagram for _RAWFILE:
[legend]

Data Fields

uint32_t f_mode
 File open mode flags.
uint32_t f_pos
 Current position into the file.
uint32_t f_sect_num
 Current sector.
size_t f_sect_pos
 Current position within sector.
uint8_tf_sect_buf
 Sector buffer.

Detailed Description

Raw device file descriptor.


Field Documentation

File open mode flags.

Referenced by RawFsFileOpen().

Current position into the file.

Referenced by RawFsFileRead(), and RawFsFileWrite().

Current sector.

Referenced by RawFsFileRead(), and RawFsFileWrite().

Current position within sector.

Referenced by RawFsFileRead(), and RawFsFileWrite().

Sector buffer.


The documentation for this struct was generated from the following file: