mfsReadLBA


Format

s32 mfsReadLBA(u32 startLBA, u32 nLBAs, void* buf)

Arguments

startLBA Starting block address
nLBAs Number of blocks
*buf Buffer

Return Value

Error

Function

Reads disk

Description

This function reads data from disk in units of LBAs. This is an mfsReadWriteLBA macro.

Main errors

MFS_ERR_NO
@
Normal termination
@
MFS_ERR_DEVICE
@
Device error
An error occurred in an internally called Leo function. Since a Leo function error is stored in the variable mfsError, check this variable to perform processing.