Functions | |
int | PhatSectorFlush (NUTDEVICE *dev, int bufnum) |
Flush sector buffers. | |
int | PhatSectorLoad (NUTDEVICE *dev, u_long sect) |
int | PhatSectorRead (NUTFILE *blkmnt, u_long sect, u_char *buf) |
Read sector. |
int PhatSectorFlush | ( | NUTDEVICE * | dev, | |
int | bufnum | |||
) |
Flush sector buffers.
The volume must be locked before calling this function.
dev | Specifies the file system device. | |
bufnum | The buffer number to flush. If -1, all buffers are flushed. |
Read sector.
The volume must be locked before calling this function.
blkmnt | Specifies the mounted block device partition. | |
sect | Sector to load. | |
buf | Points to a buffer which will receive the sector data. |